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.5 by greg, Sat Dec 15 15:01:38 1990 UTC vs.
Revision 1.6 by greg, Tue Jun 18 12:01:16 1991 UTC

# 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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines