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.5 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.6 by greg, Tue May 13 17:58:32 2003 UTC

# Line 10 | Line 10
10   typedef FLOAT  MAT4[4][4];
11  
12   #ifdef  BSD
13 < #define  copymat4(m4a,m4b)      bcopy((char *)m4b,(char *)m4a,sizeof(MAT4))
13 > #define  copymat4(m4a,m4b)      bcopy((void *)m4b,(void *)m4a,sizeof(MAT4))
14   #else
15 < #define  copymat4(m4a,m4b)      (void)memcpy((char *)m4a,(char *)m4b,sizeof(MAT4))
15 > #define  copymat4(m4a,m4b)      (void)memcpy((void *)m4a,(void *)m4b,sizeof(MAT4))
16   #endif
17  
18   #define  MAT4IDENT              { {1.,0.,0.,0.}, {0.,1.,0.,0.}, \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines