diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-16 20:23:16 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-16 20:23:16 -0500 |
commit | adb2f0d80f6146baa188770aeb678a8426892ccc (patch) | |
tree | 102a8566f7697a5dbf29804402bf5894235d25e5 /dimension | |
parent | 1256cab54b5248b9885196f474fbb50304a0e45a (diff) | |
download | dimension-adb2f0d80f6146baa188770aeb678a8426892ccc.tar.xz |
Make the bottom [0 0 0 1] of affine transformation matricies implicit.
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/realize.c | 5 |
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; } |