raSystem  1.0 bata
raMatrix.h File Reference

Go to the source code of this file.

Classes

class  raMatrix
 

Functions

RAPI raMatrix raMatrixInvert (const raMatrix &m)
 
raMatrix operator+ (const raMatrix &a, const raMatrix &b)
 
raMatrix operator- (const raMatrix &a, const raMatrix &b)
 
raMatrix operator- (const raMatrix &m)
 
raMatrix operator* (const raMatrix &a, const raMatrix &b)
 
raMatrix operator* (const raMatrix &m, const float f)
 
raMatrix operator* (const float f, const raMatrix &m)
 
raMatrix operator/ (const raMatrix &a, const raMatrix &b)
 
raMatrix operator/ (const raMatrix &m, const float f)
 
bool operator== (const raMatrix &a, const raMatrix &b)
 
bool operator!= (const raMatrix &a, const raMatrix &b)
 
raMatrix raMatrixIdentity ()
 
RAPI raMatrix raMatrixTranslation (const raVector3 &v)
 
RAPI raMatrix raMatrixRotationX (const float f)
 
RAPI raMatrix raMatrixRotationY (const float f)
 
RAPI raMatrix raMatrixRotationZ (const float f)
 
RAPI raMatrix raMatrixRotation (const float x, const float y, const float z)
 
RAPI raMatrix raMatrixRotation (const raVector3 &v)
 
RAPI raMatrix raMatrixRotationAxis (const raVector3 &v, const float f)
 
RAPI raMatrix raMatrixScaling (const raVector3 &v)
 
RAPI raMatrix raMatrixAxes (const raVector3 &vXAxis, const raVector3 &vYAxis, const raVector3 &vZAxis)
 
RAPI float raMatrixDet (const raMatrix &m, float *pfOut)
 
RAPI raMatrix raMatrixTranspose (const raMatrix &m)
 
RAPI raMatrix raMatrixProjection (const float fFOV, const float fAspect, const float fNearPlane, const float fFarPlane)
 
RAPI raMatrix raMatrixCamera (const raVector3 &vPos, const raVector3 &vLookAt, const raVector3 &vUp=raVector3(0.0f, 1.0f, 0.0f))
 
RAPI raMatrix raMatrixToTex2DMatrix (const raMatrix &m)
 

Function Documentation

◆ operator!=()

bool operator!= ( const raMatrix a,
const raMatrix b 
)
inline

Definition at line 188 of file raMatrix.h.

◆ operator*() [1/3]

raMatrix operator* ( const raMatrix a,
const raMatrix b 
)
inline

Definition at line 115 of file raMatrix.h.

◆ operator*() [2/3]

raMatrix operator* ( const raMatrix m,
const float  f 
)
inline

Definition at line 136 of file raMatrix.h.

◆ operator*() [3/3]

raMatrix operator* ( const float  f,
const raMatrix m 
)
inline

Definition at line 145 of file raMatrix.h.

◆ operator+()

raMatrix operator+ ( const raMatrix a,
const raMatrix b 
)
inline

Definition at line 111 of file raMatrix.h.

◆ operator-() [1/2]

raMatrix operator- ( const raMatrix a,
const raMatrix b 
)
inline

Definition at line 112 of file raMatrix.h.

◆ operator-() [2/2]

raMatrix operator- ( const raMatrix m)
inline

Definition at line 113 of file raMatrix.h.

◆ operator/() [1/2]

raMatrix operator/ ( const raMatrix a,
const raMatrix b 
)
inline

Definition at line 154 of file raMatrix.h.

◆ operator/() [2/2]

raMatrix operator/ ( const raMatrix m,
const float  f 
)
inline

Definition at line 156 of file raMatrix.h.

◆ operator==()

bool operator== ( const raMatrix a,
const raMatrix b 
)
inline

Definition at line 166 of file raMatrix.h.

◆ raMatrixAxes()

RAPI raMatrix raMatrixAxes ( const raVector3 vXAxis,
const raVector3 vYAxis,
const raVector3 vZAxis 
)

Definition at line 107 of file raMatrix.cpp.

◆ raMatrixCamera()

RAPI raMatrix raMatrixCamera ( const raVector3 vPos,
const raVector3 vLookAt,
const raVector3 vUp = raVector3(0.0f, 1.0f, 0.0f) 
)

Definition at line 170 of file raMatrix.cpp.

◆ raMatrixDet()

RAPI float raMatrixDet ( const raMatrix m,
float *  pfOut 
)

◆ raMatrixIdentity()

raMatrix raMatrixIdentity ( )
inline

Definition at line 211 of file raMatrix.h.

◆ raMatrixInvert()

RAPI raMatrix raMatrixInvert ( const raMatrix m)

Definition at line 122 of file raMatrix.cpp.

◆ raMatrixProjection()

RAPI raMatrix raMatrixProjection ( const float  fFOV,
const float  fAspect,
const float  fNearPlane,
const float  fFarPlane 
)

Definition at line 156 of file raMatrix.cpp.

◆ raMatrixRotation() [1/2]

RAPI raMatrix raMatrixRotation ( const float  x,
const float  y,
const float  z 
)

Definition at line 59 of file raMatrix.cpp.

◆ raMatrixRotation() [2/2]

RAPI raMatrix raMatrixRotation ( const raVector3 v)

Definition at line 67 of file raMatrix.cpp.

◆ raMatrixRotationAxis()

RAPI raMatrix raMatrixRotationAxis ( const raVector3 v,
const float  f 
)

Definition at line 74 of file raMatrix.cpp.

◆ raMatrixRotationX()

RAPI raMatrix raMatrixRotationX ( const float  f)

Definition at line 12 of file raMatrix.cpp.

◆ raMatrixRotationY()

RAPI raMatrix raMatrixRotationY ( const float  f)

Definition at line 28 of file raMatrix.cpp.

◆ raMatrixRotationZ()

RAPI raMatrix raMatrixRotationZ ( const float  f)

Definition at line 43 of file raMatrix.cpp.

◆ raMatrixScaling()

RAPI raMatrix raMatrixScaling ( const raVector3 v)

Definition at line 100 of file raMatrix.cpp.

◆ raMatrixToTex2DMatrix()

RAPI raMatrix raMatrixToTex2DMatrix ( const raMatrix m)

Definition at line 185 of file raMatrix.cpp.

◆ raMatrixTranslation()

RAPI raMatrix raMatrixTranslation ( const raVector3 v)

Definition at line 5 of file raMatrix.cpp.

◆ raMatrixTranspose()

RAPI raMatrix raMatrixTranspose ( const raMatrix m)

Definition at line 148 of file raMatrix.cpp.