diff options
-rw-r--r-- | libdimension/geometry.c | 10 | ||||
-rw-r--r-- | tests/dimension/transformations.pov | 2 | ||||
-rwxr-xr-x | tests/dimension/transformations.sh | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/libdimension/geometry.c b/libdimension/geometry.c index 5d14953..26ca628 100644 --- a/libdimension/geometry.c +++ b/libdimension/geometry.c @@ -140,11 +140,11 @@ dmnsn_matrix_inverse(dmnsn_matrix A) if (Pdet == 0.0) { /* If we can't invert P, try a more generic algorithm; this is very - unlikely, but not impossible, eg. - ( 1 1 0 0 ) - ( 1 1 1 0 ) - ( 0 1 1 0 ) - ( 0 0 0 1 ) + * unlikely, but not impossible, eg. + * [ 1 1 0 0 ] + * [ 1 1 1 0 ] + * [ 0 1 1 0 ] + * [ 0 0 0 1 ] */ return dmnsn_matrix_inverse_generic(A); } diff --git a/tests/dimension/transformations.pov b/tests/dimension/transformations.pov index 4b56c3f..f7a31fe 100644 --- a/tests/dimension/transformations.pov +++ b/tests/dimension/transformations.pov @@ -22,7 +22,7 @@ #declare Trans = transform { translate 1*z } sphere { - 0, 0 + 0, 1 translate -1*x rotate 90*y scale 2 diff --git a/tests/dimension/transformations.sh b/tests/dimension/transformations.sh index 65f8b1b..462dbeb 100755 --- a/tests/dimension/transformations.sh +++ b/tests/dimension/transformations.sh @@ -24,7 +24,7 @@ transformations_exp="$(echo -n \ '((object (sphere (vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0)) - (integer 0)) + (integer 1)) (object-modifiers (transformation (translation |