diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-28 11:18:13 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-28 11:18:13 -0600 |
commit | 1b77e953067ce43515e96f99ecafa2ea468a60bc (patch) | |
tree | d0b7a2a97a1fd1ca4484af1929ed56592f5e9f85 /libdimension | |
parent | ac1ef5630c21c92455c8da9f4d77b81536ef9808 (diff) | |
download | dimension-1b77e953067ce43515e96f99ecafa2ea468a60bc.tar.xz |
Don't make a degenerate sphere in transformations.pov.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/geometry.c | 10 |
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); } |