summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdimension/bvst.c2
-rw-r--r--libdimension/bvst.h2
-rw-r--r--libdimension/raytrace.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/bvst.c b/libdimension/bvst.c
index 9fed665..bfc8124 100644
--- a/libdimension/bvst.c
+++ b/libdimension/bvst.c
@@ -56,7 +56,7 @@ dmnsn_bvst_copy_recursive(dmnsn_bvst_node *root)
/* Copy a BVST */
dmnsn_bvst *
-dmnsn_bvst_copy(dmnsn_bvst *tree)
+dmnsn_copy_bvst(dmnsn_bvst *tree)
{
dmnsn_bvst *copy = dmnsn_new_bvst();
if (tree->root)
diff --git a/libdimension/bvst.h b/libdimension/bvst.h
index b4bff37..b783117 100644
--- a/libdimension/bvst.h
+++ b/libdimension/bvst.h
@@ -54,7 +54,7 @@ struct dmnsn_bvst_node {
};
dmnsn_bvst *dmnsn_new_bvst();
-dmnsn_bvst *dmnsn_bvst_copy(dmnsn_bvst *tree);
+dmnsn_bvst *dmnsn_copy_bvst(dmnsn_bvst *tree);
void dmnsn_delete_bvst(dmnsn_bvst *tree);
void dmnsn_bvst_insert(dmnsn_bvst *tree, dmnsn_object *object);
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c
index a85d8e6..9d6397e 100644
--- a/libdimension/raytrace.c
+++ b/libdimension/raytrace.c
@@ -140,7 +140,7 @@ dmnsn_raytrace_scene_multithread(dmnsn_raytrace_payload *payload)
payloads[i].index = i;
payloads[i].threads = nthreads;
if (i > 0) {
- payloads[i].bvst = dmnsn_bvst_copy(payloads[0].bvst);
+ payloads[i].bvst = dmnsn_copy_bvst(payloads[0].bvst);
}
}