#include <v4math.h>
Definition at line 47 of file v4math.h.
LLVector4::LLVector4 | ( | void | ) | [inline] |
Definition at line 143 of file v4math.h.
References mV, VW, VX, VY, and VZ.
Referenced by lerp(), operator%(), operator*(), operator-(), operator/(), and vec3to4().
LLVector4::LLVector4 | ( | const F32 * | vec | ) | [inline, explicit] |
LLVector4::LLVector4 | ( | const F64 * | vec | ) | [inline, explicit] |
LLVector4::LLVector4 | ( | const LLVector3 & | vec | ) | [inline, explicit] |
BOOL LLVector4::isFinite | ( | ) | const [inline] |
void LLVector4::clear | ( | void | ) | [inline] |
void LLVector4::clearVec | ( | void | ) | [inline] |
Definition at line 216 of file v4math.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLAgent::init(), and process_agent_movement_complete().
void LLVector4::zeroVec | ( | void | ) | [inline] |
void LLVector4::set | ( | const LLVector4 & | vec | ) | [inline] |
void LLVector4::set | ( | const F32 * | vec | ) | [inline] |
Definition at line 275 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::renderFullShader(), renderOctree(), LLDrawPoolTerrain::renderSimple(), and LLPlane::setVec().
void LLVector4::setVec | ( | const LLVector4 & | vec | ) | [inline] |
void LLVector4::setVec | ( | const F32 * | vec | ) | [inline] |
F32 LLVector4::length | ( | void | ) | const [inline] |
F32 LLVector4::lengthSquared | ( | void | ) | const [inline] |
F32 LLVector4::normalize | ( | void | ) | [inline] |
Definition at line 463 of file v4math.h.
References FP_MAG_THRESHOLD, fsqrtf, mV, VX, VY, and VZ.
Referenced by angle_between(), and are_parallel().
F32 LLVector4::magVec | ( | void | ) | const [inline] |
F32 LLVector4::magVecSquared | ( | void | ) | const [inline] |
F32 LLVector4::normVec | ( | void | ) | [inline] |
Definition at line 486 of file v4math.h.
References FP_MAG_THRESHOLD, fsqrtf, mV, VX, VY, and VZ.
Referenced by LLVOAvatar::idleUpdate(), and LLPipeline::setupAvatarLights().
BOOL LLVector4::isExactlyClear | ( | ) | const [inline] |
BOOL LLVector4::isExactlyZero | ( | ) | const [inline] |
Definition at line 66 of file v4math.cpp.
const LLVector4 & LLVector4::rotVec | ( | const LLQuaternion & | q | ) |
Definition at line 72 of file v4math.cpp.
Definition at line 78 of file v4math.cpp.
References mV, VW, VX, VY, and VZ.
Referenced by LLManipTranslate::highlightManipulators().
F32 LLVector4::operator[] | ( | int | idx | ) | const [inline] |
F32& LLVector4::operator[] | ( | int | idx | ) | [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 LLCamera::AABBInFrustum(), LLCamera::AABBInFrustumNoFarClip(), abs(), LLTemplateMessageBuilder::addVector4(), LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLDrawPoolBump::beginFullbrightShiny(), LLDrawPoolBump::beginShiny(), LLAgent::calcCameraPositionTargetGlobal(), LLCamera::calcPlaneMask(), clear(), clearVec(), LLPlane::dist(), LLPolyVertexMask::generateMask(), getValue(), LLWLParamSet::getVector(), LLWaterParamSet::getVector4(), LLTemplateMessageReader::getVector4(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLVOAvatar::idleUpdate(), LLVOSky::initAtmospherics(), LLMatrix4::initMatrix(), LLMatrix4::initRows(), isExactlyClear(), isExactlyZero(), isFinite(), length(), lengthSquared(), lerp(), ll_sd_from_vector4(), ll_vector4_from_sd(), LLColor3::LLColor3(), LLColor4::LLColor4(), LLGLUserClipPlane::LLGLUserClipPlane(), LLMatrix4::LLMatrix4(), LLQuaternion::LLQuaternion(), LLVector3::LLVector3(), LLVector4(), magVec(), magVecSquared(), LLV4Matrix3::multiply(), normalize(), normVec(), operator!=(), operator%(), operator%=(), operator*(), operator*=(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<<(), WLFloatControl::operator=(), WLColorControl::operator=(), WaterFloatControl::operator=(), WaterColorControl::operator=(), LLVector3d::operator=(), operator==(), operator[](), LLDataPackerAsciiFile::packVector4(), LLDataPackerAsciiBuffer::packVector4(), LLDataPackerBinaryBuffer::packVector4(), LLViewerObject::processUpdateMessage(), LLWLParamManager::propagateParameters(), LLManipRotate::render(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFullShader(), renderOctree(), LLDrawPoolTerrain::renderSimple(), LLVOAvatar::renderSkinned(), renderTexturePriority(), LLManipTranslate::renderTranslationHandles(), LLWorld::resolveStepHeightGlobal(), rotate_vector(), LLCoordFrame::rotateToAbsolute(), LLCoordFrame::rotateToLocal(), scaleVec(), LLWLParamSet::set(), LLWaterParamSet::set(), set(), LLVector3::set(), LLQuaternion::setAngleAxis(), LLQuaternion::setQuat(), LLMatrix4::setTranslation(), LLPipeline::setupAvatarLights(), LLPipeline::setupHWLights(), setVec(), LLVector3::setVec(), LLCoordFrame::transformToAbsolute(), LLCoordFrame::transformToLocal(), LLDataPackerAsciiFile::unpackVector4(), LLDataPackerAsciiBuffer::unpackVector4(), LLDataPackerBinaryBuffer::unpackVector4(), LLWLParamSet::update(), LLVOAvatar::updateCharacter(), LLWLParamManager::updateShaderUniforms(), LLWaterParamManager::updateShaderUniforms(), LLViewerJointMesh::uploadJointMatrices(), vec4to3(), and zeroVec().