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 2.7 by schorsch, Fri Jun 6 16:38:47 2003 UTC vs.
Revision 2.11 by schorsch, Mon Jun 30 14:59:11 2003 UTC

# Line 8 | Line 8
8   extern "C" {
9   #endif
10  
11 < #include "copyright.h"
11 > #include  <string.h>
12  
13   #include  "fvect.h"
14  
15 < typedef FLOAT  MAT4[4][4];
15 > typedef RREAL  MAT4[4][4];
16  
17 #ifdef  BSD
18 #define  copymat4(m4a,m4b)      bcopy((void *)m4b,(void *)m4a,sizeof(MAT4))
19 #else
17   #define  copymat4(m4a,m4b)      (void)memcpy((void *)m4a,(void *)m4b,sizeof(MAT4))
21 #endif
18  
19   #define  MAT4IDENT              { {1.,0.,0.,0.}, {0.,1.,0.,0.}, \
20                                  {0.,0.,1.,0.}, {0.,0.,0.,1.} }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines