diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-08-31 18:29:51 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-08-31 18:29:51 +0100 |
| commit | ff6e21cb879397982cddf3cf5f47bba681271a2c (patch) | |
| tree | 2efa735b9ae420868013da55f38e3c20338cf4a3 /examples | |
| parent | 5399463d9d9f94a20fb6b80814318e2b154b199a (diff) | |
Fix subtype polymorphism
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo.odin b/examples/demo.odin index a01e96aa7..a0441921c 100644 --- a/examples/demo.odin +++ b/examples/demo.odin @@ -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}) } |