summaryrefslogtreecommitdiffstats
path: root/libdimension/raytrace.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-06-04 10:15:21 -0600
committerTavian Barnes <tavianator@gmail.com>2010-06-04 10:15:21 -0600
commit4a2dd35a34d456b9164e90b4fb1a06b1d009869f (patch)
treea896e926bebae2e1a64b341b800169f1224df359 /libdimension/raytrace.c
parentca7780971fe39c8a7e0e867e0d8bd9f3b5a21e33 (diff)
downloaddimension-4a2dd35a34d456b9164e90b4fb1a06b1d009869f.tar.xz
Rename `precompute' to `init'.
Diffstat (limited to 'libdimension/raytrace.c')
-rw-r--r--libdimension/raytrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c
index 8adde41..e10a7c0 100644
--- a/libdimension/raytrace.c
+++ b/libdimension/raytrace.c
@@ -78,7 +78,7 @@ dmnsn_raytrace_scene_thread(void *ptr)
/* Pre-calculate bounding box transformations, etc. */
DMNSN_ARRAY_FOREACH (dmnsn_object **, object, payload->scene->objects) {
- dmnsn_object_precompute(*object);
+ dmnsn_object_init(*object);
}
payload->prtree = dmnsn_new_prtree(payload->scene->objects);