#include <v2math.h>
Collaboration diagram for LLVector2:
Definition at line 45 of file v2math.h.
LLVector2::LLVector2 | ( | ) | [inline] |
LLVector2::LLVector2 | ( | const F32 * | vec | ) | [inline] |
BOOL LLVector2::abs | ( | ) |
void LLVector2::clearVec | ( | ) | [inline] |
BOOL LLVector2::isExactlyZero | ( | ) | const [inline] |
BOOL LLVector2::isNull | ( | ) | [inline] |
F32 LLVector2::magVec | ( | ) | const [inline] |
Definition at line 167 of file v2math.h.
Referenced by calc_desired_size(), LLParticleEvent::getScore(), and LLViewerWindow::handlePerFrameHover().
F32 LLVector2::magVecSquared | ( | ) | const [inline] |
Definition at line 172 of file v2math.h.
References mV.
Referenced by LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), and move_vec().
F32 LLVector2::normVec | ( | ) | [inline] |
Definition at line 177 of file v2math.h.
References FP_MAG_THRESHOLD, fsqrtf, and mV.
Referenced by angle_between(), are_parallel(), LLVOPartGroup::getGeometry(), LLMenuGL::handleHover(), LLManipTranslate::highlightManipulators(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLHUDText::updateAll(), and LLHUDText::updateScreenPos().
F32& LLVector2::operator[] | ( | int | idx | ) | [inline] |
F32 LLVector2::operator[] | ( | int | idx | ) | const [inline] |
Definition at line 147 of file v2math.h.
Referenced by LLViewerWindow::calcDisplayScale(), LLProfile::genNormals(), LLVOClouds::getGeometry(), LLFace::getGeometryVolume(), LLViewerWindow::handlePerFrameHover(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLPathParams::LLPathParams(), LLViewerWindow::LLViewerWindow(), LLPath::PathPt::PathPt(), LLPipeline::renderBloom(), LLSnapshotLivePreview::savePostcard(), LLVolumeImplFlexible::setAttributesOfAllSections(), LLPathParams::setScale(), LLPathParams::setShear(), LLPathParams::setTaper(), LLHUDText::updateAll(), LLVOWater::updateGeometry(), LLViewerPartGroup::updateParticles(), and LLHUDText::updateScreenPos().
void LLVector2::zeroVec | ( | ) | [inline] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLVector2 & | a | |||
) | [friend] |
Definition at line 48 of file v2math.h.
Referenced by abs(), LLViewerPartGroup::addPart(), LLViewerWindow::analyzeHit(), LLPipeline::bindScreenToTexture(), calc_binormal_from_triangle(), LLViewerWindow::calcDisplayScale(), LLModalDialog::centerOnScreen(), clearVec(), LLVolumeFace::createUnCutCubeCap(), LLViewerWindow::draw(), LLLineEditor::draw(), LLFloaterPostcard::draw(), LLButton::draw(), LLTextEditor::drawCursor(), LLViewerWindow::drawPickBuffer(), LLSurfacePatch::eval(), LLVolume::generate(), LLPath::generate(), LLPolyVertexMask::generateMask(), LLPath::genNGon(), LLPathParams::getBeginScale(), LLPathParams::getEndScale(), LLVOPartGroup::getGeometry(), LLViewerCamera::getPixelVectors(), LLPathParams::getScaleX(), LLPathParams::getScaleY(), LLPathParams::getShearX(), LLPathParams::getShearY(), LLPathParams::getTaperX(), LLPathParams::getTaperY(), LLUI::getWindowSize(), gl_segmented_rect_2d_fragment_tex(), gl_segmented_rect_2d_tex(), gl_segmented_rect_3d_tex(), LLViewerWindow::handleDoubleClick(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleMouseMove(), LLViewerWindow::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), LLViewerWindow::initFonts(), isExactlyZero(), isNull(), ll_sd_from_vector2(), ll_vector2_from_sd(), LLVector2(), LLViewerWindow::LLViewerWindow(), magVec(), magVecSquared(), move_vec(), normVec(), operator[](), LLPartData::pack(), LLDataPackerAsciiFile::packVector2(), LLDataPackerAsciiBuffer::packVector2(), LLDataPackerBinaryBuffer::packVector2(), LLViewerWindow::performPick(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), LLViewerPartSim::put(), render_disconnected_background(), LLPipeline::renderBloom(), LLHUDText::renderText(), LLManip::renderXYZ(), LLViewerWindow::reshape(), scaleVec(), LLVolumeImplFlexible::setAttributesOfAllSections(), LLUI::setCursorPositionScreen(), LLPartData::setEndScale(), LLUI::setLineWidth(), LLPathParams::setScaleX(), LLPathParams::setScaleY(), LLUI::setScissorRegionLocal(), LLUI::setScissorRegionScreen(), LLPathParams::setShearX(), LLPathParams::setShearY(), LLPartData::setStartScale(), LLPathParams::setTaperX(), LLPathParams::setTaperY(), setVec(), LLDrawPoolWater::shade(), LLComboBox::showList(), LLPartData::unpack(), LLDataPackerAsciiFile::unpackVector2(), LLDataPackerAsciiBuffer::unpackVector2(), LLDataPackerBinaryBuffer::unpackVector2(), update_min_max(), LLHUDText::updateAll(), LLHUDText::updateScreenPos(), LLFloaterEventLog::updateSelectedEventInfo(), LLHUDText::updateVisibility(), LLVOVolume::writeCAL3D(), xform(), and zeroVec().
LLVector2 LLVector2::zero [static] |
Definition at line 50 of file v2math.h.
Referenced by gl_segmented_rect_2d_fragment_tex(), gl_segmented_rect_2d_tex(), and LLHUDText::updateAll().