aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-08-31 18:29:51 +0100
committerGinger Bill <bill@gingerbill.org>2016-08-31 18:29:51 +0100
commitff6e21cb879397982cddf3cf5f47bba681271a2c (patch)
tree2efa735b9ae420868013da55f38e3c20338cf4a3 /examples
parent5399463d9d9f94a20fb6b80814318e2b154b199a (diff)
Fix subtype polymorphism
Diffstat (limited to 'examples')
-rw-r--r--examples/demo.odin4
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})
}