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.1 by greg, Sat Dec 15 14:18:18 1990 UTC vs.
Revision 1.2 by greg, Tue Jun 18 12:01:18 1991 UTC

# Line 16 | Line 16 | typedef double  MAT4[4][4];
16   #define  copymat4(m4a,m4b)      (void)memcpy((char *)m4a,(char *)m4b,sizeof(MAT4))
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. }
22 +
23 + extern MAT4  m4ident;
24 +
25 + #define  setident4(m4)          copymat4(m4, m4ident)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines