summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-07 15:55:18 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-07 15:55:18 -0400
commitbfadc2ee359f10842da21336795e54f24a2746e3 (patch)
treebc0ef4f499e5f869ed399e347a4e083a3272c12f
parent6c95702123269a674f0ffa0b57ec756bc611c643 (diff)
downloaddimension-bfadc2ee359f10842da21336795e54f24a2746e3.tar.xz
triangle_fan: Remove dead store to bounding box.
-rw-r--r--libdimension/triangle_fan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdimension/triangle_fan.c b/libdimension/triangle_fan.c
index 48a64ff..fe974df 100644
--- a/libdimension/triangle_fan.c
+++ b/libdimension/triangle_fan.c
@@ -153,8 +153,6 @@ dmnsn_new_triangle_fan(dmnsn_pool *pool, dmnsn_vector vertices[], size_t nvertic
dmnsn_object *object = &fan->object;
dmnsn_init_object(object);
object->vtable = &dmnsn_triangle_fan_vtable;
- object->bounding_box.min = dmnsn_zero;
- object->bounding_box.max = dmnsn_new_vector(1.0, 1.0, 0.0);
/* Compute the initial matrix and the coefficients */
dmnsn_vector a = vertices[0];