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.6 by greg, Tue May 13 17:58:32 2003 UTC vs.
Revision 2.7 by schorsch, Fri Jun 6 16:38:47 2003 UTC

# Line 2 | Line 2
2   /*
3   * Definitions for 4x4 matrix operations
4   */
5 + #ifndef _RAD_MAT4_H_
6 + #define _RAD_MAT4_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11   #include "copyright.h"
12  
# Line 22 | Line 27 | extern MAT4  m4ident;
27  
28   #define  setident4(m4)          copymat4(m4, m4ident)
29  
25 #ifdef NOPROTO
30  
27 extern void     multmat4();
28 extern void     multv3();
29 extern void     multp3();
30 extern int      invmat4();
31
32 #else
33
31   extern void     multmat4(MAT4 m4a, MAT4 m4b, MAT4 m4c);
32   extern void     multv3(FVECT v3a, FVECT v3b, MAT4 m4);
33   extern void     multp3(FVECT p3a, FVECT p3b, MAT4 m4);
34   extern int      invmat4(MAT4 inverse, MAT4 mat);
35  
36 +
37 + #ifdef __cplusplus
38 + }
39   #endif
40 + #endif /* _RAD_MAT4_H_ */
41 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines