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 /bench | |
parent | 1256cab54b5248b9885196f474fbb50304a0e45a (diff) | |
download | dimension-adb2f0d80f6146baa188770aeb678a8426892ccc.tar.xz |
Make the bottom [0 0 0 1] of affine transformation matricies implicit.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/libdimension/geometry.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bench/libdimension/geometry.c b/bench/libdimension/geometry.c index 99757ae..9a381c6 100644 --- a/bench/libdimension/geometry.c +++ b/bench/libdimension/geometry.c @@ -45,8 +45,7 @@ main(void) sandglass_bench_fine(&sandglass, { matrix = dmnsn_new_matrix(1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, - 0.0, 1.0, 1.0, 0.0, - 0.0, 0.0, 0.0, 1.0); + 0.0, 1.0, 1.0, 0.0); }); printf("dmnsn_new_matrix(): %ld\n", sandglass.grains); @@ -138,8 +137,7 @@ main(void) /* dmnsn_matrix_inverse(HARD) */ matrix2 = dmnsn_new_matrix(1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, - 0.0, 1.0, 1.0, 0.0, - 0.0, 0.0, 0.0, 1.0); + 0.0, 1.0, 1.0, 0.0); sandglass_bench_fine(&sandglass, { matrix = dmnsn_matrix_inverse(matrix2); }); |