| # | 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 |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |