diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/code/demo.odin b/code/demo.odin index 21cfb6f63..61516e5b7 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -10,4 +10,20 @@ main :: proc() { fmt.print(p); } fmt.println(); + + { + Vec3 :: [vector 3]f32; + + x := Vec3{1, 2, 3}; + y := Vec3{4, 5, 6}; + fmt.println(x < y); + fmt.println(x + y); + fmt.println(x - y); + fmt.println(x * y); + fmt.println(x / y); + + for i in x { + fmt.println(i); + } + } } |