Oolite 1.91.0.7646-241128-10e222e
|
Go to the source code of this file.
Functions | |
OOMatrix | OOMatrixForRotation (Vector axis, OOScalar angle) |
OOMatrix | OOMatrixForQuaternionRotation (Quaternion orientation) |
bool | OOMatrixEqual (OOMatrix a, OOMatrix b) |
OOMatrix | OOMatrixMultiply (OOMatrix a, OOMatrix b) |
Vector | OOVectorMultiplyMatrix (Vector v, OOMatrix m) |
HPVector | OOHPVectorMultiplyMatrix (HPVector v, OOMatrix m) |
OOMatrix | OOMatrixOrthogonalize (OOMatrix m) |
OOMatrix | OOMatrixForBillboard (HPVector bbPos, HPVector eyePos) |
void | OOMatrixRowSwap (OOMatrix *M, int row1, int row2) |
void | OOMatrixRowScale (OOMatrix *M, int row, OOScalar factor) |
void | OOMatrixRowOperation (OOMatrix *M, int row1, OOScalar factor1, int row2, OOScalar factor2) |
void | OOMatrixColumnSwap (OOMatrix *M, int column1, int column2) |
void | OOMatrixColumnScale (OOMatrix *M, int column, OOScalar factor) |
void | OOMatrixColumnOperation (OOMatrix *M, int column1, OOScalar factor1, int column2, OOScalar factor2) |
OOMatrix | OOMatrixLeftTransform (OOMatrix A, OOMatrix B) |
OOMatrix | OOMatrixRightTransform (OOMatrix A, OOMatrix B) |
OOMatrix | OOMatrixInverse (OOMatrix M) |
OOMatrix | OOMatrixInverseWithDeterminant (OOMatrix M, OOScalar *d) |
void | GLUniformMatrix3 (int location, OOMatrix M) |
Variables | |
const OOMatrix | kIdentityMatrix |
const OOMatrix | kZeroMatrix |
void GLUniformMatrix3 | ( | int | location, |
OOMatrix | M ) |
Definition at line 457 of file OOMatrix.m.
References OOGL.
HPVector OOHPVectorMultiplyMatrix | ( | HPVector | v, |
OOMatrix | m ) |
Definition at line 145 of file OOMatrix.m.
void OOMatrixColumnOperation | ( | OOMatrix * | M, |
int | column1, | ||
OOScalar | factor1, | ||
int | column2, | ||
OOScalar | factor2 ) |
Definition at line 287 of file OOMatrix.m.
Referenced by OOMatrixLeftTransform().
Definition at line 273 of file OOMatrix.m.
Referenced by OOMatrixLeftTransform().
Definition at line 256 of file OOMatrix.m.
References x.
Referenced by OOMatrixLeftTransform().
bool OOMatrixEqual | ( | OOMatrix | a, |
OOMatrix | b ) |
Definition at line 96 of file OOMatrix.m.
OOMatrix OOMatrixForBillboard | ( | HPVector | bbPos, |
HPVector | eyePos ) |
Definition at line 191 of file OOMatrix.m.
References EXPECT_NOT, kBasisXVector, and kBasisZVector.
OOMatrix OOMatrixForQuaternionRotation | ( | Quaternion | orientation | ) |
Definition at line 65 of file OOMatrix.m.
Referenced by HeadUpDisplay::hudRotateViewpointForVirtualDepth.
OOMatrix OOMatrixForRotation | ( | Vector | axis, |
OOScalar | angle ) |
Definition at line 46 of file OOMatrix.m.
OOMatrix OOMatrixInverse | ( | OOMatrix | M | ) |
Definition at line 393 of file OOMatrix.m.
References kIdentityMatrix, and OOMatrixLeftTransform().
OOMatrix OOMatrixInverseWithDeterminant | ( | OOMatrix | M, |
OOScalar * | d ) |
Definition at line 398 of file OOMatrix.m.
References kIdentityMatrix, kZeroMatrix, OOMatrixRowOperation(), OOMatrixRowScale(), and OOMatrixRowSwap().
OOMatrix OOMatrixLeftTransform | ( | OOMatrix | A, |
OOMatrix | B ) |
Definition at line 301 of file OOMatrix.m.
References kZeroMatrix, OOMatrixColumnOperation(), OOMatrixColumnScale(), and OOMatrixColumnSwap().
Referenced by OOMatrixInverse().
OOMatrix OOMatrixMultiply | ( | OOMatrix | a, |
OOMatrix | b ) |
Definition at line 111 of file OOMatrix.m.
OOMatrix OOMatrixOrthogonalize | ( | OOMatrix | m | ) |
Definition at line 159 of file OOMatrix.m.
OOMatrix OOMatrixRightTransform | ( | OOMatrix | A, |
OOMatrix | B ) |
Definition at line 344 of file OOMatrix.m.
References kZeroMatrix, OOMatrixRowOperation(), OOMatrixRowScale(), and OOMatrixRowSwap().
Definition at line 242 of file OOMatrix.m.
Referenced by OOMatrixInverseWithDeterminant(), and OOMatrixRightTransform().
Definition at line 228 of file OOMatrix.m.
Referenced by OOMatrixInverseWithDeterminant(), and OOMatrixRightTransform().
Definition at line 211 of file OOMatrix.m.
References x.
Referenced by OOMatrixInverseWithDeterminant(), and OOMatrixRightTransform().
Vector OOVectorMultiplyMatrix | ( | Vector | v, |
OOMatrix | m ) |
Definition at line 129 of file OOMatrix.m.
const OOMatrix kIdentityMatrix |
Definition at line 31 of file OOMatrix.m.
Referenced by OOMatrixInverse(), and OOMatrixInverseWithDeterminant().
const OOMatrix kZeroMatrix |
Definition at line 38 of file OOMatrix.m.
Referenced by OOMatrixInverseWithDeterminant(), OOMatrixLeftTransform(), and OOMatrixRightTransform().