summaryrefslogtreecommitdiffstats
path: root/libdimension/geometry.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-06-28 11:18:13 -0600
committerTavian Barnes <tavianator@gmail.com>2010-06-28 11:18:13 -0600
commit1b77e953067ce43515e96f99ecafa2ea468a60bc (patch)
treed0b7a2a97a1fd1ca4484af1929ed56592f5e9f85 /libdimension/geometry.c
parentac1ef5630c21c92455c8da9f4d77b81536ef9808 (diff)
downloaddimension-1b77e953067ce43515e96f99ecafa2ea468a60bc.tar.xz
Don't make a degenerate sphere in transformations.pov.
Diffstat (limited to 'libdimension/geometry.c')
-rw-r--r--libdimension/geometry.c10
1 files changed, 5 insertions, 5 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);
}