matrix.cpp File Reference


Detailed Description

Id
matrix.cpp,v 1.34 2003/12/05 13:45:36 berenguier Exp

Definition in file matrix.cpp.

#include "stdmisc.h"
#include "nel/misc/matrix.h"
#include "nel/misc/plane.h"
#include "nel/misc/debug.h"

Go to the source code of this file.

Namespaces

namespace  NLMISC

Defines

#define a11   M[0]
#define a12   M[4]
#define a13   M[8]
#define a14   M[12]
#define a21   M[1]
#define a22   M[5]
#define a23   M[9]
#define a24   M[13]
#define a31   M[2]
#define a32   M[6]
#define a33   M[10]
#define a34   M[14]
#define a41   M[3]
#define a42   M[7]
#define a43   M[11]
#define a44   M[15]
#define MAT_IDENTITY   0
#define MAT_PROJ   16
#define MAT_ROT   2
#define MAT_SCALEANY   8
#define MAT_SCALEUNI   4
#define MAT_TRANS   1
#define MAT_VALIDALL   (MAT_VALIDROT | MAT_VALIDPROJ)
#define MAT_VALIDPROJ   128
#define MAT_VALIDROT   64


Define Documentation

#define a11   M[0]
 

Definition at line 66 of file matrix.cpp.

#define a12   M[4]
 

Definition at line 70 of file matrix.cpp.

#define a13   M[8]
 

Definition at line 74 of file matrix.cpp.

#define a14   M[12]
 

Definition at line 78 of file matrix.cpp.

#define a21   M[1]
 

Definition at line 67 of file matrix.cpp.

#define a22   M[5]
 

Definition at line 71 of file matrix.cpp.

#define a23   M[9]
 

Definition at line 75 of file matrix.cpp.

#define a24   M[13]
 

Definition at line 79 of file matrix.cpp.

#define a31   M[2]
 

Definition at line 68 of file matrix.cpp.

#define a32   M[6]
 

Definition at line 72 of file matrix.cpp.

#define a33   M[10]
 

Definition at line 76 of file matrix.cpp.

#define a34   M[14]
 

Definition at line 80 of file matrix.cpp.

#define a41   M[3]
 

Definition at line 69 of file matrix.cpp.

#define a42   M[7]
 

Definition at line 73 of file matrix.cpp.

#define a43   M[11]
 

Definition at line 77 of file matrix.cpp.

#define a44   M[15]
 

Definition at line 81 of file matrix.cpp.

#define MAT_IDENTITY   0
 

Definition at line 61 of file matrix.cpp.

Referenced by NLMISC::CMatrix::identity(), and NLMISC::CMatrix::set().

#define MAT_PROJ   16
 

Definition at line 54 of file matrix.cpp.

Referenced by NLMISC::CMatrix::hasProj(), NLMISC::CMatrix::hasProjectionPart(), NLMISC::CMatrix::inverted(), NLMISC::operator *(), NLMISC::CMatrix::resetProj(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setProj(), and NLMISC::CMatrix::transpose().

#define MAT_ROT   2
 

Definition at line 51 of file matrix.cpp.

Referenced by NLMISC::CMatrix::getRot(), NLMISC::CMatrix::hasRot(), NLMISC::CMatrix::inverted(), NLMISC::CMatrix::normalize(), NLMISC::operator *(), NLMISC::CMatrix::rotateX(), NLMISC::CMatrix::rotateY(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), and NLMISC::CMatrix::setScaleUni().

#define MAT_SCALEANY   8
 

Definition at line 53 of file matrix.cpp.

Referenced by NLMISC::CMatrix::getRot(), NLMISC::CMatrix::hasRot(), NLMISC::CMatrix::hasScalePart(), NLMISC::CMatrix::hasScaleUniform(), NLMISC::CMatrix::inverted(), NLMISC::CMatrix::normalize(), NLMISC::operator *(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), and NLMISC::CMatrix::setScaleUni().

#define MAT_SCALEUNI   4
 

Definition at line 52 of file matrix.cpp.

Referenced by NLMISC::CMatrix::fastInvert33(), NLMISC::CMatrix::getRot(), NLMISC::CMatrix::hasRot(), NLMISC::CMatrix::hasScalePart(), NLMISC::CMatrix::hasScaleUniform(), NLMISC::CMatrix::normalize(), NLMISC::operator *(), NLMISC::CMatrix::rotateZ(), NLMISC::CMatrix::scale(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), and NLMISC::CMatrix::setScaleUni().

#define MAT_TRANS   1
 

Definition at line 50 of file matrix.cpp.

Referenced by NLMISC::CMatrix::hasTrans(), NLMISC::CMatrix::inverted(), NLMISC::CMatrix::movePos(), NLMISC::operator *(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setPos(), NLMISC::CMatrix::translate(), and NLMISC::CMatrix::transpose().

#define MAT_VALIDALL   (MAT_VALIDROT | MAT_VALIDPROJ)
 

Definition at line 59 of file matrix.cpp.

Referenced by NLMISC::CMatrix::operator=(), and NLMISC::CMatrix::setMulMatrix().

#define MAT_VALIDPROJ   128
 

Definition at line 58 of file matrix.cpp.

Referenced by NLMISC::CMatrix::resetProj(), NLMISC::CMatrix::set(), NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setProj(), NLMISC::CMatrix::testExpandProj(), and NLMISC::CMatrix::transpose().

#define MAT_VALIDROT   64
 

Definition at line 57 of file matrix.cpp.

Referenced by NLMISC::CMatrix::setMulMatrix(), NLMISC::CMatrix::setMulMatrixNoProj(), NLMISC::CMatrix::setRot(), NLMISC::CMatrix::setScale(), NLMISC::CMatrix::setScaleUni(), and NLMISC::CMatrix::testExpandRot().


Generated on Tue Mar 16 06:42:54 2004 for NeL by doxygen 1.3.6