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 2.2 by greg, Thu Jun 23 10:22:20 1994 UTC vs.
Revision 2.4 by greg, Tue Feb 25 02:47:21 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1990 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  mat4.c - routines dealing with 4 X 4 homogeneous transformation matrices.
9 *
10 *     10/19/85
6   */
7  
8 + #include "copyright.h"
9 +
10   #include  "mat4.h"
11  
12   MAT4  m4ident = MAT4IDENT;
# Line 17 | Line 14 | MAT4  m4ident = MAT4IDENT;
14   static MAT4  m4tmp;             /* for efficiency */
15  
16  
17 + void
18   multmat4(m4a, m4b, m4c)         /* multiply m4b X m4c and put into m4a */
19   MAT4  m4a;
20   register MAT4  m4b, m4c;
# Line 34 | Line 32 | register MAT4  m4b, m4c;
32   }
33  
34  
35 + void
36   multv3(v3a, v3b, m4)    /* transform vector v3b by m4 and put into v3a */
37   FVECT  v3a;
38   register FVECT  v3b;
# Line 49 | Line 48 | register MAT4  m4;
48   }
49  
50  
51 + void
52   multp3(p3a, p3b, m4)            /* transform p3b by m4 and put into p3a */
53   register FVECT  p3a;
54   FVECT  p3b;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines