--- ray/src/common/mat4.h 2003/06/07 12:50:20 2.8 +++ ray/src/common/mat4.h 2003/06/30 14:59:11 2.11 @@ -1,4 +1,4 @@ -/* RCSid $Id: mat4.h,v 2.8 2003/06/07 12:50:20 schorsch Exp $ */ +/* RCSid $Id: mat4.h,v 2.11 2003/06/30 14:59:11 schorsch Exp $ */ /* * Definitions for 4x4 matrix operations */ @@ -8,19 +8,13 @@ extern "C" { #endif -#include "copyright.h" - #include #include "fvect.h" -typedef FLOAT MAT4[4][4]; +typedef RREAL MAT4[4][4]; -#ifdef BSD -#define copymat4(m4a,m4b) bcopy((void *)m4b,(void *)m4a,sizeof(MAT4)) -#else #define copymat4(m4a,m4b) (void)memcpy((void *)m4a,(void *)m4b,sizeof(MAT4)) -#endif #define MAT4IDENT { {1.,0.,0.,0.}, {0.,1.,0.,0.}, \ {0.,0.,1.,0.}, {0.,0.,0.,1.} }