diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-19 02:34:22 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-19 02:34:22 -0500 |
commit | 4dcb998baf07243838afcb4e202b7fd89399972e (patch) | |
tree | d4cbde7810ed2042ab4f8ef70024184f3511f5fb /libdimension/kD_splay_tree.c | |
parent | 4c55801feb15617888472def76ca4d1a60b3a107 (diff) | |
download | dimension-4dcb998baf07243838afcb4e202b7fd89399972e.tar.xz |
Use dmnsn_new_*() rather than dmnsn_*_construct().
Diffstat (limited to 'libdimension/kD_splay_tree.c')
-rw-r--r-- | libdimension/kD_splay_tree.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libdimension/kD_splay_tree.c b/libdimension/kD_splay_tree.c index 924d3a9..ca31b86 100644 --- a/libdimension/kD_splay_tree.c +++ b/libdimension/kD_splay_tree.c @@ -115,31 +115,31 @@ dmnsn_kD_splay_insert(dmnsn_kD_splay_tree *tree, dmnsn_object *object) node->max = node->min; dmnsn_vector corner; - corner = dmnsn_vector_construct(object->min.x, object->min.y, object->max.z); + corner = dmnsn_new_vector(object->min.x, object->min.y, object->max.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); - corner = dmnsn_vector_construct(object->min.x, object->max.y, object->min.z); + corner = dmnsn_new_vector(object->min.x, object->max.y, object->min.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); - corner = dmnsn_vector_construct(object->min.x, object->max.y, object->max.z); + corner = dmnsn_new_vector(object->min.x, object->max.y, object->max.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); - corner = dmnsn_vector_construct(object->max.x, object->min.y, object->min.z); + corner = dmnsn_new_vector(object->max.x, object->min.y, object->min.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); - corner = dmnsn_vector_construct(object->max.x, object->min.y, object->max.z); + corner = dmnsn_new_vector(object->max.x, object->min.y, object->max.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); - corner = dmnsn_vector_construct(object->max.x, object->max.y, object->min.z); + corner = dmnsn_new_vector(object->max.x, object->max.y, object->min.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); - corner = dmnsn_vector_construct(object->max.x, object->max.y, object->max.z); + corner = dmnsn_new_vector(object->max.x, object->max.y, object->max.z); corner = dmnsn_matrix_vector_mul(object->trans, corner); dmnsn_kD_splay_node_swallow(node, corner, corner); |