summaryrefslogtreecommitdiffstats
path: root/libdimension/scene.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-07 14:15:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-07 14:30:26 -0400
commita79085ab984979dbf4f78545f7592c8b47e4a794 (patch)
treee2518532db860db8ba59878ecd6d0d4b60f0b5c4 /libdimension/scene.c
parent708954192219feead526f84c0c8bdb29088aeae0 (diff)
downloaddimension-a79085ab984979dbf4f78545f7592c8b47e4a794.tar.xz
objects: Refactor how bounding and initialization work.
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r--libdimension/scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c
index 39be881..18cda80 100644
--- a/libdimension/scene.c
+++ b/libdimension/scene.c
@@ -72,6 +72,6 @@ dmnsn_scene_initialize(dmnsn_scene *scene)
DMNSN_ARRAY_FOREACH (dmnsn_object **, object, scene->objects) {
dmnsn_texture_cascade(scene->default_texture, &(*object)->texture);
dmnsn_interior_cascade(scene->default_interior, &(*object)->interior);
- dmnsn_object_initialize(*object);
+ dmnsn_object_precompute(*object);
}
}