diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-10-01 00:02:00 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-10-01 00:02:00 +0100 |
| commit | 264fc1e1f3006b3a9c6f25feab776ad6c7f32a25 (patch) | |
| tree | e0cd808f47e2550d56619f6e940a435ad6e11c4f /code | |
| parent | 9aa9007d8ff032a704c32b13d58e540fbcfb8bbe (diff) | |
Allow for constants of compound types
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin index 57052d66d..5d188eee3 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -4,6 +4,12 @@ #import "mem.odin" #import "game.odin" -main :: proc() { +Vec3 :: struct { + x, y, z: f32 +} +main :: proc() { + v0 := V + v1 := V + v2 := V } |