Fix subtype polymorphism

This commit is contained in:
Ginger Bill
2016-08-31 18:29:51 +01:00
parent 5399463d9d
commit ff6e21cb87
3 changed files with 37 additions and 16 deletions
+2 -2
View File
@@ -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})
}