summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'dimension')
-rw-r--r--dimension/realize.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index b5c4225..bb977a6 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -113,7 +113,6 @@ dmnsn_realize_box(dmnsn_astnode astnode)
(x2.z + x1.z)/2.0)),
box->trans
);
- box->trans = dmnsn_matrix_inverse(box->trans);
return box;
}
@@ -151,7 +150,6 @@ dmnsn_realize_sphere(dmnsn_astnode astnode)
sphere->trans = dmnsn_scale_matrix(dmnsn_vector_construct(r, r, r));
sphere->trans = dmnsn_matrix_mul(dmnsn_translation_matrix(x0), sphere->trans);
- sphere->trans = dmnsn_matrix_inverse(sphere->trans);
return sphere;
}