#include <m4math.h>
Definition at line 99 of file m4math.h.
LLMatrix4::LLMatrix4 | ( | ) | [inline] |
LLMatrix4::LLMatrix4 | ( | const F32 * | mat | ) | [explicit] |
LLMatrix4::LLMatrix4 | ( | const LLMatrix3 & | mat | ) | [explicit] |
LLMatrix4::LLMatrix4 | ( | const LLQuaternion & | q | ) | [explicit] |
Definition at line 72 of file m4math.cpp.
References LLMatrix3::mMatrix, mMatrix, and LLVector4::mV.
LLMatrix4::LLMatrix4 | ( | const LLQuaternion & | q, | |
const LLVector4 & | pos | |||
) |
LLMatrix4::~LLMatrix4 | ( | void | ) |
Definition at line 160 of file m4math.cpp.
LLVector4 LLMatrix4::getFwdRow4 | ( | ) | const |
Definition at line 257 of file m4math.cpp.
References mMatrix, VW, VX, VY, and VZ.
Referenced by LLAgent::calcFocusOffset(), LLKeyframeStandMotion::onUpdate(), and LLVOAvatar::updateCharacter().
LLVector4 LLMatrix4::getLeftRow4 | ( | ) | const |
Definition at line 262 of file m4math.cpp.
References mMatrix, VW, VX, VY, and VZ.
Referenced by LLAgent::calcFocusOffset().
LLMatrix3 LLMatrix4::getMat3 | ( | ) | const |
Definition at line 581 of file m4math.cpp.
References mMatrix, and LLMatrix3::mMatrix.
Referenced by LLDrawPoolWater::render(), LLDrawPoolWater::renderShaderSimple(), and LLPipeline::setupAvatarLights().
const LLVector3& LLMatrix4::getTranslation | ( | ) | const [inline] |
LLVector4 LLMatrix4::getUpRow4 | ( | ) | const |
Definition at line 267 of file m4math.cpp.
References mMatrix, VW, VX, VY, and VZ.
Referenced by LLAgent::calcFocusOffset().
const LLMatrix4 & LLMatrix4::identity | ( | ) | [inline] |
Definition at line 249 of file m4math.h.
References mMatrix.
Referenced by LLVOVolume::animateTextures(), LLXformMatrix::init(), LLMatrix4(), and LLVOVolume::LLVOVolume().
const LLMatrix4 & LLMatrix4::initAll | ( | const LLVector3 & | scale, | |
const LLQuaternion & | q, | |||
const LLVector3 & | pos | |||
) |
Definition at line 430 of file m4math.cpp.
References mMatrix, LLQuaternion::mQ, LLVector3::mV, VW, VX, VY, and VZ.
Referenced by LLVOVolume::animateTextures(), LLXform::getLocalMat4(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLXformMatrix::updateMatrix(), and LLVOVolume::writeCAL3D().
Definition at line 624 of file m4math.cpp.
References LLMatrix3::mMatrix, mMatrix, and LLVector4::mV.
Definition at line 600 of file m4math.cpp.
References LLMatrix3::mMatrix, and mMatrix.
Referenced by initRotation(), and initRotTrans().
const LLMatrix4 & LLMatrix4::initRotation | ( | const LLQuaternion & | q | ) |
const LLMatrix4 & LLMatrix4::initRotTrans | ( | const LLQuaternion & | q, | |
const LLVector4 & | pos | |||
) |
const LLMatrix4 & LLMatrix4::initRotTrans | ( | const F32 | angle, | |
const F32 | rx, | |||
const F32 | ry, | |||
const F32 | rz, | |||
const F32 | px, | |||
const F32 | py, | |||
const F32 | pz | |||
) |
Definition at line 383 of file m4math.cpp.
References initMatrix(), and setTranslation().
Referenced by LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), and LLMatrix4().
void LLMatrix4::initRows | ( | const LLVector4 & | row0, | |
const LLVector4 & | row1, | |||
const LLVector4 & | row2, | |||
const LLVector4 & | row3 | |||
) |
Definition at line 327 of file m4math.cpp.
References mMatrix, and LLVector4::mV.
Referenced by LLDrawPoolBump::beginShiny(), LLVolumeImplFlexible::doFlexibleUpdate(), LLDrawPoolAvatar::getModelView(), LLManipRotate::render(), LLVOVolume::updateRelativeXform(), and LLVolumeImplFlexible::updateRelativeXform().
const LLMatrix4 & LLMatrix4::invert | ( | ) |
Definition at line 228 of file m4math.cpp.
References j, mMatrix, VW, VX, VY, and VZ.
Referenced by LLDrawPoolWater::render(), LLDrawPoolWater::renderShaderSimple(), LLPipeline::setupAvatarLights(), LLJoint::setWorldPosition(), and LLJoint::setWorldRotation().
LLQuaternion LLMatrix4::quaternion | ( | void | ) | const |
Definition at line 277 of file m4math.cpp.
References f, i, j, mMatrix, LLQuaternion::mQ, s, LLQuaternion::setQuat(), VS, VX, VY, and VZ.
Referenced by LLQuaternion::LLQuaternion(), LLQuaternion::setQuat(), and LLVOAvatar::updateCharacter().
const LLMatrix4 & LLMatrix4::rotate | ( | const LLQuaternion & | q | ) |
Definition at line 495 of file m4math.cpp.
Definition at line 488 of file m4math.cpp.
Definition at line 481 of file m4math.cpp.
Definition at line 534 of file m4math.cpp.
References mMatrix, LLVector3::mV, VX, VY, and VZ.
Referenced by LLCoordFrame::getMatrixToLocal().
Definition at line 512 of file m4math.cpp.
References mMatrix, LLVector3::mV, VX, VY, and VZ.
Referenced by LLViewerJoint::drawBone(), and LLCoordFrame::getRotMatrixToParent().
Definition at line 541 of file m4math.cpp.
References mMatrix, LLVector3::mV, VX, VY, and VZ.
Referenced by LLCoordFrame::getMatrixToLocal().
Definition at line 519 of file m4math.cpp.
References mMatrix, LLVector3::mV, VX, VY, and VZ.
Referenced by LLViewerJoint::drawBone(), and LLCoordFrame::getRotMatrixToParent().
Definition at line 556 of file m4math.cpp.
References mMatrix, VW, VX, VY, and VZ.
Referenced by initRotTrans().
Definition at line 548 of file m4math.cpp.
References mMatrix, LLVector3::mV, VX, VY, and VZ.
Referenced by LLCoordFrame::getMatrixToLocal().
Definition at line 526 of file m4math.cpp.
References mMatrix, LLVector3::mV, VX, VY, and VZ.
Referenced by LLViewerJoint::drawBone(), and LLCoordFrame::getRotMatrixToParent().
Definition at line 503 of file m4math.cpp.
References mMatrix, and LLVector3::mV.
Referenced by LLVOVolume::animateTextures(), and LLViewerJointMesh::uploadJointMatrices().
const LLMatrix4 & LLMatrix4::transpose | ( | ) |
Definition at line 193 of file m4math.cpp.
References mMatrix.
Referenced by LLCubeMap::setMatrix().
const LLMatrix4 & LLMatrix4::zero | ( | ) |
Definition at line 166 of file m4math.cpp.
References mMatrix.
Referenced by LLViewerCamera::calcProjection().
Definition at line 685 of file m4math.cpp.
Definition at line 707 of file m4math.cpp.
Definition at line 788 of file m4math.cpp.
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLMatrix4 & | a | |||
) | [friend] |
Definition at line 815 of file m4math.cpp.
Definition at line 774 of file m4math.cpp.
Definition at line 755 of file m4math.cpp.
Definition at line 731 of file m4math.cpp.
Definition at line 102 of file m4math.h.
Referenced by LLViewerCamera::calcProjection(), LLGLState::checkTextureChannels(), LLViewerJoint::drawBone(), LLViewerJointMesh::drawShape(), getFwdRow4(), getLeftRow4(), getMat3(), LLQuaternion::getMatrix4(), LLCoordFrame::getMatrixToLocal(), getTranslation(), getUpRow4(), identity(), initAll(), initMatrix(), initRows(), invert(), LLMatrix4(), operator *=(), operator+=(), operator-=(), quaternion(), LLViewerJointCollisionVolume::render(), LLManipRotate::render(), LLDrawPoolAlpha::renderAlpha(), LLDrawPoolAlpha::renderAlphaHighlight(), LLSelectNode::renderOneSilhouette(), setFwdCol(), setFwdRow(), setLeftCol(), setLeftRow(), LLCubeMap::setMatrix(), setTranslation(), setUpCol(), setUpRow(), LLJoint::setWorldMatrix(), LLJoint::setWorldPosition(), LLJoint::setWorldRotation(), translate(), transpose(), LLViewerJointMesh::updateGeometryOriginal(), LLXformMatrix::updateMatrix(), and zero().