mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-20 00:16:47 +00:00
Allow for constants of compound types
This commit is contained in:
+8
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user