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

Comparing ray/src/common/mat4.h (file contents):
Revision 1.2 by greg, Tue Jun 18 12:01:18 1991 UTC vs.
Revision 2.2 by greg, Fri Mar 5 15:14:03 1993 UTC

# Line 8 | Line 8
8  
9   #include  "fvect.h"
10  
11 < typedef double  MAT4[4][4];
11 > typedef FLOAT  MAT4[4][4];
12  
13   #ifdef  BSD
14   #define  copymat4(m4a,m4b)      bcopy((char *)m4b,(char *)m4a,sizeof(MAT4))
# Line 17 | Line 17 | typedef double  MAT4[4][4];
17   extern char  *memcpy();
18   #endif
19  
20 < #define  MAT4IDENT              { 1.,0.,0.,0., 0.,1.,0.,0., \
21 <                                0.,0.,1.,0., 0.,0.,0.,1. }
20 > #define  MAT4IDENT              { {1.,0.,0.,0.}, {0.,1.,0.,0.}, \
21 >                                {0.,0.,1.,0.}, {0.,0.,0.,1.} }
22  
23   extern MAT4  m4ident;
24  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines