| # | Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 12 | ||
| 13 | #include "mat4.h" | |
| 14 | ||
| 15 | < | static MAT4 m4tmp; /* for efficiency */ |
| 15 | > | MAT4 m4ident = MAT4IDENT; |
| 16 | ||
| 17 | < | |
| 18 | < | setident4(m4) |
| 19 | < | MAT4 m4; |
| 20 | < | { |
| 21 | < | static MAT4 ident = { |
| 22 | < | 1.,0.,0.,0., |
| 23 | < | 0.,1.,0.,0., |
| 24 | < | 0.,0.,1.,0., |
| 25 | < | 0.,0.,0.,1., |
| 26 | < | }; |
| 27 | < | copymat4(m4, ident); |
| 28 | < | } |
| 17 | > | static MAT4 m4tmp; /* for efficiency */ |
| 18 | ||
| 19 | ||
| 20 | multmat4(m4a, m4b, m4c) /* multiply m4b X m4c and put into m4a */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |