mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Allow for constants of compound types
This commit is contained in:
+7
-1
@@ -4,6 +4,12 @@
|
||||
#import "mem.odin"
|
||||
#import "game.odin"
|
||||
|
||||
Vec3 :: struct {
|
||||
x, y, z: f32
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
|
||||
v0 := V
|
||||
v1 := V
|
||||
v2 := V
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user