From adb2f0d80f6146baa188770aeb678a8426892ccc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Nov 2010 20:23:16 -0500 Subject: Make the bottom [0 0 0 1] of affine transformation matricies implicit. --- bench/libdimension/geometry.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bench/libdimension') 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); }); -- cgit v1.2.3