mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-12 14:21:25 -07:00
Fix subtype polymorphism
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ main :: proc() {
|
||||
print_f32(f.jump_height); nl()
|
||||
print_f32(parent.jump_height); nl()
|
||||
|
||||
print_name(f.entity, Vec3{1, 2, 3})
|
||||
print_name(parent.entity, Vec3{3, 2, 1})
|
||||
print_name(f, Vec3{1, 2, 3})
|
||||
print_name(parent, Vec3{3, 2, 1})
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user