ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/mat4.c
(Generate patch)

Comparing ray/src/common/mat4.c (file contents):
Revision 1.6 by greg, Tue Jun 18 12:01:16 1991 UTC vs.
Revision 1.7 by greg, Mon Jul 15 11:30:51 1991 UTC

# Line 61 | Line 61 | register MAT4  m4;
61   }
62  
63  
64 #ifdef  INVMAT
64   /*
65   * invmat - computes the inverse of mat into inverse.  Returns 1
66   * if there exists an inverse, 0 otherwise.  It uses Gaussian Elimination
# Line 78 | Line 77 | MAT4  mat, inverse;
77          register double temp;
78  
79          copymat4(m4tmp, mat);
80 <        setident(inverse);
80 >        setident4(inverse);
81  
82          for(i = 0; i < 4; i++) {
83                  /* Look for row with largest pivot and swap rows */
# Line 116 | Line 115 | MAT4  mat, inverse;
115   #undef ABS
116   #undef SWAP
117   }
119 #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines