Matrix16.cpp File Reference

#include <common/Matrix16.h>

Go to the source code of this file.

Defines

#define A(row, col)   a[(col<<2)+row]
#define B(row, col)   b[(col<<2)+row]
#define P(row, col)   product[(col<<2)+row]

Variables

static float IDENTITY_MATRIX [16]


Define Documentation

#define A ( row,
col   )     a[(col<<2)+row]

Definition at line 46 of file Matrix16.cpp.

Referenced by HeightMap::getNormal(), and Matrix16::multiply().

#define B ( row,
col   )     b[(col<<2)+row]

Definition at line 47 of file Matrix16.cpp.

Referenced by HeightMap::getNormal(), and Matrix16::multiply().

#define P ( row,
col   )     product[(col<<2)+row]

Definition at line 48 of file Matrix16.cpp.

Referenced by Matrix16::multiply().


Variable Documentation

float IDENTITY_MATRIX[16] [static]

Initial value:

 
{
   1.0, 0.0, 0.0, 0.0,
   0.0, 1.0, 0.0, 0.0,
   0.0, 0.0, 1.0, 0.0,
   0.0, 0.0, 0.0, 1.0
}

Definition at line 23 of file Matrix16.cpp.

Referenced by Matrix16::identity(), and Matrix16::Matrix16().


Generated on Mon Feb 16 15:14:57 2009 for Scorched3D by  doxygen 1.5.3