Skip to content

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Otremba committed Dec 20, 2018
1 parent f439dd8 commit 8b3d32b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions examples/examples/glfw3_example.che
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// #load("compiler/main.che")

#load("../std/io/io.che")
#load("../glfw/glfw3.che")
#load("../opengl/opengl.che")
#load("std:io/io")
#load("glfw:glfw3")
#load("opengl:opengl")

struct Quad {
pos: Vec2f
Expand Down
10 changes: 5 additions & 5 deletions examples/examples/signed_distance_field_renderer.che
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#load("../std/io/io.che")
#load("../std/math.che")
#load("../std/array.che")
#load("../std/mem/stack_allocator.che")
#load("../bmp/bmp.che")
#load("std:io/io")
#load("std:math")
#load("std:array")
#load("std:mem/stack_allocator")
#load("bmp:bmp")

///////////////////////////////////////////////////////////
fn xor(a: bool, b: bool) -> bool {
Expand Down
4 changes: 2 additions & 2 deletions examples/examples/trait_function_call_performance.che
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#load("../std/io/io.che")
#load("../std/util.che")
#load("std:io/io")
#load("std:util")


fn scanf(format: c_string, value: int&, value2: int&) -> int #varargs;
Expand Down

0 comments on commit 8b3d32b

Please sign in to comment.