summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-16 20:23:16 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-16 20:23:16 -0500
commitadb2f0d80f6146baa188770aeb678a8426892ccc (patch)
tree102a8566f7697a5dbf29804402bf5894235d25e5 /dimension
parent1256cab54b5248b9885196f474fbb50304a0e45a (diff)
downloaddimension-adb2f0d80f6146baa188770aeb678a8426892ccc.tar.xz
Make the bottom [0 0 0 1] of affine transformation matricies implicit.
Diffstat (limited to 'dimension')
-rw-r--r--dimension/realize.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index 40ff114..65829eb 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -188,11 +188,6 @@ dmnsn_realize_matrix(dmnsn_astnode astnode)
trans.n[2][2] = dmnsn_realize_float(children[8]);
trans.n[2][3] = dmnsn_realize_float(children[11]);
- trans.n[3][0] = 0.0;
- trans.n[3][1] = 0.0;
- trans.n[3][2] = 0.0;
- trans.n[3][3] = 1.0;
-
return trans;
}