ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/mx3.h
(Generate patch)

Comparing ray/src/px/mx3.h (file contents):
Revision 2.3 by greg, Tue May 13 17:58:33 2003 UTC vs.
Revision 2.4 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 2 | Line 2
2   #ifndef MX3_HDR
3   #define MX3_HDR
4  
5 < #define mx3_copy(a, b) bcopy(a, b, 3*3*sizeof(double))
5 > #include <string.h>
6  
7 + #define mx3_copy(a, b) memcpy(b, a, 3*3*sizeof(double))
8 +
9   /* FLOAT VERSIONS */
10   float  mx3f_adjoint(/* a, b */);
11   void  mx3f_mul(/* a, b, c */);
# Line 14 | Line 16 | void  mx3f_scale_mat(/* sx, sy, a */);
16   void  mx3f_scale(/* a, sx, sy */);
17   void  mx3f_transform(/* p, a, q */);
18   float  mx3f_transform_div(/* p, a, q */);
19 < #define mx3f_copy(a, b) bcopy(a, b, 3*3*sizeof(float))
19 > #define mx3f_copy(a, b) memcpy(b, a, 3*3*sizeof(float))
20  
21   /* DOUBLE VERSIONS */
22   double  mx3d_adjoint(/* a, b */);
# Line 26 | Line 28 | void  mx3d_scale_mat(/* sx, sy, a */);
28   void  mx3d_scale(/* a, sx, sy */);
29   void  mx3d_transform(/* p, a, q */);
30   double  mx3d_transform_div(/* p, a, q */);
31 < #define mx3d_copy(a, b) bcopy(a, b, 3*3*sizeof(double))
31 > #define mx3d_copy(a, b) memcpy(b, a, 3*3*sizeof(double))
32  
33   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines