#include <v4math.h>
Inheritance diagram for LLVector4:
Definition at line 47 of file v4math.h.
LLVector4::LLVector4 | ( | ) | [inline] |
LLVector4::LLVector4 | ( | const F32 * | vec | ) | [inline, explicit] |
LLVector4::LLVector4 | ( | const F64 * | vec | ) | [inline, explicit] |
LLVector4::LLVector4 | ( | const LLVector3 & | vec | ) | [inline, explicit] |
BOOL LLVector4::abs | ( | ) |
void LLVector4::clearVec | ( | ) | [inline] |
Definition at line 195 of file v4math.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLAgent::init(), and process_agent_movement_complete().
BOOL LLVector4::isExactlyClear | ( | ) | const [inline] |
BOOL LLVector4::isExactlyZero | ( | ) | const [inline] |
BOOL LLVector4::isFinite | ( | ) | const [inline] |
F32 LLVector4::magVec | ( | ) | const [inline] |
F32 LLVector4::magVecSquared | ( | ) | const [inline] |
F32 LLVector4::normVec | ( | ) | [inline] |
Definition at line 384 of file v4math.h.
References FP_MAG_THRESHOLD, fsqrtf, mV, VX, VY, and VZ.
Referenced by angle_between(), are_parallel(), LLVOAvatar::idleUpdate(), and LLPipeline::setupAvatarLights().
F32& LLVector4::operator[] | ( | int | idx | ) | [inline] |
F32 LLVector4::operator[] | ( | int | idx | ) | const [inline] |
const LLVector4 & LLVector4::rotVec | ( | const LLQuaternion & | q | ) |
Definition at line 72 of file v4math.cpp.
Definition at line 66 of file v4math.cpp.
Definition at line 78 of file v4math.cpp.
References mV, VW, VX, VY, and VZ.
Referenced by LLManipTranslate::highlightManipulators().
Definition at line 211 of file v4math.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLPipeline::generateReflectionMap(), LLVOAvatar::idleUpdate(), LLPlane::operator=(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFull4TUShader(), renderOctree(), LLDrawPoolTerrain::renderSimple(), and LLPlane::setVec().
void LLVector4::zeroVec | ( | ) | [inline] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLVector4 & | a | |||
) | [friend] |
Definition at line 103 of file v4math.cpp.
Definition at line 50 of file v4math.h.
Referenced by abs(), LLTemplateMessageBuilder::addVector4(), LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLDrawPoolBump::beginShiny(), LLAgent::calcCameraPositionTargetGlobal(), clearVec(), LLPlane::dist(), LLPolyVertexMask::generateMask(), getValue(), LLManipTranslate::highlightManipulators(), LLVOAvatar::idleUpdate(), LLMatrix4::initMatrix(), LLMatrix4::initRows(), isExactlyClear(), isExactlyZero(), isFinite(), ll_sd_from_vector4(), ll_vector4_from_sd(), LLMatrix4::LLMatrix4(), LLQuaternion::LLQuaternion(), LLVector3::LLVector3(), LLVector4(), magVec(), magVecSquared(), normVec(), operator[](), LLDataPackerAsciiFile::packVector4(), LLDataPackerAsciiBuffer::packVector4(), LLDataPackerBinaryBuffer::packVector4(), LLViewerObject::processUpdateMessage(), LLManipRotate::render(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFull4TUShader(), renderOctree(), LLDrawPoolTerrain::renderSimple(), LLVOAvatar::renderSkinned(), renderTexturePriority(), LLManipTranslate::renderTranslationHandles(), LLWorld::resolveStepHeightGlobal(), rotate_vector(), LLCoordFrame::rotateToAbsolute(), LLCoordFrame::rotateToLocal(), scaleVec(), LLQuaternion::setQuat(), LLMatrix4::setTranslation(), LLPipeline::setupAvatarLights(), LLPipeline::setupHWLights(), setVec(), LLVector3::setVec(), LLCoordFrame::transformToAbsolute(), LLCoordFrame::transformToLocal(), LLDataPackerAsciiFile::unpackVector4(), LLDataPackerAsciiBuffer::unpackVector4(), LLDataPackerBinaryBuffer::unpackVector4(), LLVOAvatar::updateCharacter(), LLViewerJointMesh::uploadJointMatrices(), vec4to3(), and zeroVec().