#include <cmath>
#include "lldefs.h"
Go to the source code of this file.
Defines | |
#define | llisnan(val) std::isnan(val) |
#define | llfinite(val) std::isfinite(val) |
#define | fsqrtf(x) ((F32)sqrt((F64)(x))) |
#define | sqrtf(x) ((F32)sqrt((F64)(x))) |
#define | cosf(x) ((F32)cos((F64)(x))) |
#define | sinf(x) ((F32)sin((F64)(x))) |
#define | tanf(x) ((F32)tan((F64)(x))) |
#define | acosf(x) ((F32)acos((F64)(x))) |
#define | powf(x, y) ((F32)pow((F64)(x),(F64)(y))) |
#define | LL_EXP_INDEX 0 |
#define | LL_MAN_INDEX 1 |
#define | LL_EXP_A (1048576 * OO_LN2) |
#define | LL_EXP_C (60801) |
#define | LL_FAST_EXP(y) (LLECO.n.i = llround(F32(LL_EXP_A*(y))) + (1072693248 - LL_EXP_C), LLECO.d) |
Functions | |
BOOL | is_approx_zero (F32 f) |
BOOL | is_approx_equal (F32 x, F32 y) |
BOOL | is_approx_equal (F64 x, F64 y) |
BOOL | is_approx_equal_fraction (F32 x, F32 y, U32 frac_bits) |
BOOL | is_approx_equal_fraction (F64 x, F64 y, U32 frac_bits) |
S32 | llabs (const S32 a) |
F32 | llabs (const F32 a) |
F64 | llabs (const F64 a) |
S32 | lltrunc (F32 f) |
S32 | lltrunc (F64 f) |
S32 | llfloor (F32 f) |
S32 | llceil (F32 f) |
S32 | llround (const F32 val) |
F32 | llround (F32 val, F32 nearest) |
F64 | llround (F64 val, F64 nearest) |
F32 | fastMagnitude (F32 a, F32 b) |
F32 | llfastpow (const F32 x, const F32 y) |
F32 | snap_to_sig_figs (F32 foo, S32 sig_figs) |
F32 | lerp (F32 a, F32 b, F32 u) |
F32 | lerp2d (F32 x00, F32 x01, F32 x10, F32 x11, F32 u, F32 v) |
F32 | ramp (F32 x, F32 a, F32 b) |
F32 | rescale (F32 x, F32 x1, F32 x2, F32 y1, F32 y2) |
F32 | clamp_rescale (F32 x, F32 x1, F32 x2, F32 y1, F32 y2) |
F32 | cubic_step (F32 x, F32 x0, F32 x1, F32 s0, F32 s1) |
F32 | cubic_step (F32 x) |
F32 | quadratic_step (F32 x, F32 x0, F32 x1, F32 s0, F32 s1) |
F32 | llsimple_angle (F32 angle) |
U32 | get_nearest_power_two (U32 val, U32 max_power_two) |
Variables | |
const F32 | GRAVITY = -9.8f |
const F32 | F_PI = 3.1415926535897932384626433832795f |
const F32 | F_TWO_PI = 6.283185307179586476925286766559f |
const F32 | F_PI_BY_TWO = 1.5707963267948966192313216916398f |
const F32 | F_SQRT2 = 1.4142135623730950488016887242097f |
const F32 | F_SQRT3 = 1.73205080756888288657986402541f |
const F32 | OO_SQRT2 = 0.7071067811865475244008443621049f |
const F32 | DEG_TO_RAD = 0.017453292519943295769236907684886f |
const F32 | RAD_TO_DEG = 57.295779513082320876798154814105f |
const F32 | F_APPROXIMATELY_ZERO = 0.00001f |
const F32 | F_LN2 = 0.69314718056f |
const F32 | OO_LN2 = 1.4426950408889634073599246810019f |
const F32 | FP_MAG_THRESHOLD = 0.0000001f |
const F32 | FAST_MAG_ALPHA = 0.960433870103f |
const F32 | FAST_MAG_BETA = 0.397824734759f |
const F64 | LL_DOUBLE_TO_FIX_MAGIC = 68719476736.0*1.5 |
const S32 | LL_SHIFT_AMOUNT = 16 |
union { | |
double d | |
struct { | |
S32 i | |
S32 j | |
} n | |
} | LLECO |
Copyright (c) 2000-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llmath.h.
Definition at line 65 of file llmath.h.
Referenced by calc_bouncy_animation(), LLQuaternion::constrain(), gl_arc_2d(), gl_deep_circle(), LLQuaternion::LLQuaternion(), pulse_func(), LLVisualParamHint::render(), LLQuaternion::setAngleAxis(), LLQuaternion::setQuat(), setup_patch_cosines(), and setup_patch_icosines().
Definition at line 58 of file llmath.h.
Referenced by LLKeyframeMotion::applyConstraint(), calc_light_dist(), LLViewerImage::calcDecodePriority(), LLSelectMgr::deselectAllIfTooFar(), dist_vec(), distVec(), LLVector4::length(), LLVector3::length(), LLVector2::length(), LLVector4::magVec(), LLColor4U::magVec(), LLColor4::magVec(), LLVector3::magVec(), LLVector3d::magVec(), LLColor3::magVec(), LLVector2::magVec(), LLVector4::normalize(), LLVector3::normalize(), LLVector2::normalize(), LLVector4::normVec(), LLColor4::normVec(), LLVector3::normVec(), LLVector3d::normVec(), LLColor3::normVec(), LLVector2::normVec(), LLAgent::startAutoPilotGlobal(), LLVOVolume::updateTextures(), LLVOTree::updateTextures(), LLVOGrass::updateTextures(), LLVOAvatar::updateTextures(), and LLWorld::updateVisibilities().
#define LL_FAST_EXP | ( | y | ) | (LLECO.n.i = llround(F32(LL_EXP_A*(y))) + (1072693248 - LL_EXP_C), LLECO.d) |
Definition at line 371 of file llmath.h.
Referenced by LLHaze::calcFalloff(), LLColor3::exp(), llfastpow(), and LLFastLn::pow().
#define llfinite | ( | val | ) | std::isfinite(val) |
Definition at line 53 of file llmath.h.
Referenced by add_register_fp(), bytestream2float(), bytestream2quaternion(), bytestream2vector(), bytestream_int2float(), get_register_fp(), LLTemplateMessageReader::getF32(), LLTemplateMessageReader::getF64(), LLNameValue::init(), LLVector4::isFinite(), LLVector3::isFinite(), LLVector3d::isFinite(), LLQuaternion::isFinite(), lscript_global_get(), lscript_local_get(), lscript_pop_float(), safe_instruction_bytestream2float(), LLXform::setPosition(), LLXform::setPositionX(), LLXform::setPositionY(), LLXform::setPositionZ(), LLXform::setRotation(), and LLXform::setScale().
#define llisnan | ( | val | ) | std::isnan(val) |
Definition at line 52 of file llmath.h.
Referenced by LLSDUnnamedNamespace::ImplReal::asBoolean(), and LLSDUnnamedNamespace::ImplReal::asInteger().
Definition at line 68 of file llmath.h.
Referenced by LLQuaternion::constrain(), LLFastTimerView::draw(), gl_arc_2d(), gl_deep_circle(), LLQuaternion::LLQuaternion(), LLBreatheMotionRot::onUpdate(), LLVisualParamHint::render(), renderBoundingBox(), LLQuaternion::setAngleAxis(), LLQuaternion::setQuat(), LLTreeParams::ShapeRatio(), and slerp().
Definition at line 61 of file llmath.h.
Referenced by LLVOVolume::computeLODDetail(), LLQuaternion::constrain(), LLManipRotate::dragConstrained(), LLWorldMapView::drawTrackingCircle(), LLCamera::getPitch(), LLVoiceClient::getUserVolume(), LLManipRotate::handleMouseDownOnPart(), LLQuaternion::normalize(), LLQuaternion::normQuat(), LLManipTranslate::renderGrid(), LLAgent::startAutoPilotGlobal(), and LLVOAvatar::updateCharacter().
Definition at line 71 of file llmath.h.
Referenced by LLCamera::calculateFrustumPlanes(), LLCamera::calculateFrustumPlanesFromWindow(), gl_perspective(), and LLViewerCamera::updateCameraLocation().
Definition at line 420 of file llmath.h.
References llclamp(), and rescale().
Referenced by LLKeyframeMotion::applyConstraint(), LLFolderView::autoOpenTest(), LLAgent::calcFocusOffset(), LLViewerImageList::calcMaxTextureRAM(), LLProgressView::draw(), LLFolderViewItem::draw(), LLSnapshotLivePreview::draw(), LLDebugVarMessageBox::draw(), LLPieMenu::draw(), LLScrollListCtrl::drawItems(), LLAgent::getCameraZoomFraction(), LLFocusMgr::getFocusFlashAmt(), LLToolGun::handleHover(), LLVOAvatar::idleUpdate(), LLFlyAdjustMotion::onUpdate(), LLKeyframeFallMotion::onUpdate(), LLEditingMotion::onUpdate(), LLFontGL::render(), LLHUDIcon::renderIcon(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLSpeakerMgr::update(), LLVOAvatar::updateCharacter(), LLVOAvatar::updateJointLODs(), and LLVOAvatar::updateShadowFaces().
Definition at line 446 of file llmath.h.
References llclampf().
Definition at line 433 of file llmath.h.
Referenced by LLMotionController::updateMotionsByType().
Definition at line 477 of file llmath.h.
Referenced by LLFloaterSnapshot::Impl::checkImageSize(), and LLSnapshotLivePreview::generateThumbnailImage().
Definition at line 102 of file llmath.h.
References S32.
Referenced by LLManipScale::renderSnapGuides().
Definition at line 100 of file llmath.h.
References F_APPROXIMATELY_ZERO.
Referenced by LLManipRotate::dragUnconstrained(), LLTexLayerParamAlpha::getSkip(), LLTexLayer::render(), and LLManipScale::stretchFace().
Definition at line 397 of file llmath.h.
Referenced by LLFloaterChat::addChatHistory(), LLKeyframeMotion::applyConstraint(), LLFolderViewFolder::arrange(), LLInventoryModel::backgroundFetch(), LLJointStateBlender::blendJointStates(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcCustomizeAvatarUIOffset(), LLAgent::calcFocusOffset(), LLWorldMapView::draw(), LLVoiceRemoteCtrl::draw(), LLFloaterTexturePicker::draw(), LLNetMap::draw(), LLFolderViewFolder::draw(), LLFloaterWorldMap::draw(), LLSnapshotLivePreview::draw(), LLFloaterColorPicker::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLTabContainer::draw(), LLScrollbar::draw(), LLTearOffMenu::draw(), LLMenuHolderGL::draw(), LLButton::draw(), LLViewBorder::drawOnePixelLines(), LLMotion::fadeIn(), LLMotion::fadeOut(), LLTexLayer::findNetColor(), LLPath::generate(), LLPath::genNGon(), LLProfile::genNGon(), LLProfile::genNormals(), LLTexGlobalColor::getColor(), LLFocusMgr::getFocusColor(), LLFocusMgr::getFocusFlashWidth(), LLSelectMgr::getGrid(), gl_draw_scaled_image_with_border(), LLMenuGL::handleHover(), LLManipScale::highlightManipulators(), LLVOAvatar::idleUpdate(), LLKeyframeMotion::PositionCurve::interp(), LLKeyframeMotion::ScaleCurve::interp(), LLJointStateBlender::interpolate(), LLFlyAdjustMotion::onUpdate(), LLWalkAdjustMotion::onUpdate(), LLHeadRotMotion::onUpdate(), LLBVHLoader::optimize(), LLVolumeImplFlexible::remapSections(), LLManipRotate::render(), renderTexturePriority(), LLManipTranslate::renderTranslationHandles(), rescale(), LLAgent::resetView(), LLVolumeImplFlexible::setAttributesOfAllSections(), LLUI::setLineWidth(), setup_hud_matrices(), LLPipeline::setupAvatarLights(), LLFollowCam::update(), LLSpeakerMgr::update(), LLHUDText::updateAll(), LLAgent::updateCamera(), LLVOAvatar::updateCharacter(), LLViewerJointMesh::updateGeometryOriginal(), LLVOAvatar::updateHeadOffset(), LLLayoutStack::updateLayout(), LLHUDText::updateSize(), and LLDrawable::updateXform().
Definition at line 156 of file llmath.h.
References S32.
Referenced by LLKeyframeMotion::applyConstraint(), LLFolderViewFolder::arrange(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcFocusOffset(), LLManipRotate::dragConstrained(), LLManipScale::dragFace(), LLTracker::drawMarker(), LLWorldMapView::drawTrackingArrow(), LLView::findSnapEdge(), LLColumnHeader::findSnapEdge(), LLViewerRegion::getCompositionXY(), LLManip::getMousePointOnPlaneGlobal(), LLTextEditor::getSelectionRange(), LLLineEditor::getSelectionRange(), LLPanelFace::getState(), gl_segmented_rect_2d_fragment_tex(), gl_segmented_rect_2d_tex(), LLToolCamera::handleHover(), LLManipTranslate::handleHover(), LLMenuBarGL::handleHover(), LLMenuGL::handleHover(), LLManipRotate::handleMouseDownOnPart(), LLManipTranslate::highlightManipulators(), LLManipRotate::highlightManipulators(), LLToolDragAndDrop::isOverThreshold(), LLViewerWindow::mousePointOnPlaneGlobal(), LLViewerWindow::performPick(), LLFloaterPay::processPayPriceReply(), LLViewerImage::processTextureStats(), LLViewerWindow::rawSnapshot(), LLManipScale::renderAxisHandle(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLHUDText::renderText(), LLManip::renderTickValue(), LLManipTranslate::renderTranslationHandles(), LLFloaterView::reshapeFloater(), LLBufferArray::seek(), LLTextureFetch::sendRequestListToSimulators(), LLDebugVarMessageBox::show(), LLHUDText::updateScreenPos(), LLManipScale::updateSnapGuides(), and LLManipRotate::updateVisiblity().
Definition at line 217 of file llmath.h.
References S32.
Referenced by LLFolderView::arrange(), LLVOSurfacePatch::createDrawable(), LLViewerWindow::draw(), LLTearOffMenu::draw(), LLProfile::generate(), LLVolume::generateFaceMask(), LLNotifyBox::getNotifyTipRect(), LLFontGL::maxDrawableChars(), LLViewerWindow::rawSnapshot(), LLFloaterBuyLandUI::refreshUI(), LLFontGL::render(), render_ui_2d(), LLManipScale::renderSnapGuides(), LLViewerWindow::reshape(), LLViewerCamera::setPerspective(), setup_hud_matrices(), and LLScreenClipRect::updateScissorRegion().
Definition at line 375 of file llmath.h.
References LL_FAST_EXP, and indra::base::lllog::log().
Definition at line 197 of file llmath.h.
References S32.
Referenced by LLProfile::addHole(), LLToolView::addTool(), LLFloaterWorldMap::adjustZoomSliderBounds(), LLViewerTextureAnim::animateTextures(), LLAgent::calcFocusOffset(), LLFloaterWorldMap::centerOnTarget(), LLFontGL::charFromPixelOffset(), LLPartSysData::clampSourceParticleRate(), LLImageRaw::copyLineScaled(), LLAlertDialog::createDialog(), LLVOSurfacePatch::createDrawable(), LLVolumeFace::createSide(), LLWorldMapView::draw(), LLVoiceRemoteCtrl::draw(), LLGLTexMemBar::draw(), LLTextureBar::draw(), LLStatBar::draw(), LLPreviewTexture::draw(), LLNetMap::draw(), LLHoverView::draw(), LLFrameStatView::draw(), LLFolderViewItem::draw(), LLPanelVoiceDeviceSettings::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLTextEditor::drawCursor(), LLTextBox::drawText(), LLWorldMapView::drawTracking(), LLWorldMapView::drawTrackingArrow(), LLSurfacePatch::eval(), F32_to_U16(), F32_to_U8(), LLVorbisDecodeState::finishDecode(), LLFontGL::firstDrawableChar(), LLPath::generate(), LLProfile::generate(), LLVLComposition::generateTexture(), LLWind::getCloudVelocity(), LLManip::getSubdivisionLevel(), LLViewerLayer::getValueScaled(), LLWind::getVelocity(), LLFontGL::getWidthF32(), gl_rect_2d_offset_local(), LLWorldMapView::handleMouseUp(), LLVOAvatar::idleUpdate(), LLFontGL::initDefaultFonts(), LLGradientPaletteList::initPalette(), LLGroupNotifyBox::LLGroupNotifyBox(), llround(), LLFastLn::ln(), LLFontGL::maxDrawableChars(), LLPanelLandAccess::onCommitAny(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterAnimPreview::onCommitPriority(), LLFloaterSnapshot::Impl::onCommitQuality(), post_show_depth_buffer(), LLFloaterNameDesc::postBuild(), LLViewerWindow::rawSnapshot(), LLPanelActiveSpeakers::refreshSpeakers(), LLFontGL::render(), LLToolBrushLand::renderOverlay(), LLManipTranslate::renderSnapGuides(), LLHUDText::renderText(), LLConsole::reshape(), LLSurface::resolveHeightRegion(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLAlertDialog::setCheckBox(), LLGradientPaletteList::setHardwarePalette(), LLMotionController::setTimeStep(), LLComboBox::showList(), LLFolderView::startRenamingSelectedItem(), LLViewerJointMesh::updateGeometryOriginal(), LLViewerJointMesh::updateGeometryVectorized(), LLMotionController::updateMotion(), LLWorld::updateNetStats(), LLScreenClipRect::updateScissorRegion(), LLWorldMapView::viewPosToGlobal(), and windCallback().
Definition at line 226 of file llmath.h.
References llfloor().
Referenced by LLScrollListCtrl::addColumn(), agent_jump(), agent_push_forwardbackward(), agent_slide_leftright(), LLViewerWindow::analyzeHit(), LLViewerTextureAnim::animateTextures(), LLKeyframeMotion::applyConstraint(), LLFolderView::arrange(), LLFolderViewFolder::arrange(), LLMenuGL::arrange(), LLFloater::buildButtons(), LLScrollListCtrl::calcColumnWidths(), LLViewerWindow::calcDisplayScale(), LLVOVolume::calcLOD(), LLModalDialog::centerOnScreen(), LLWorldMapView::checkItemHit(), clamp_precision(), LLImageRaw::compositeRowScaled4onto3(), LLVOVolume::computeLODDetail(), LLWebBrowserCtrl::convertInputCoords(), LLImageRaw::copyLineScaled(), LLVolumeImplFlexible::doIdleUpdate(), LLWorldMapView::draw(), LLViewerWindow::draw(), LLStatGraph::draw(), LLProgressView::draw(), LLNetMap::draw(), LLFolderViewItem::draw(), LLSnapshotLivePreview::draw(), LLFastTimerView::draw(), LLScrollListText::draw(), LLLayoutStack::draw(), LLMenuItemBranchDownGL::draw(), LLLineEditor::draw(), LLFloater::draw(), LLButton::draw(), LLWorldMapView::drawAvatar(), LLTextEditor::drawClippedSegment(), LLTextEditor::drawCursor(), drawDot(), LLWorldMapView::drawIconName(), LLWorldMapView::drawImage(), LLWorldMapView::drawImageStack(), LLViewerWindow::drawMouselookInstructions(), LLViewerWindow::drawPickBuffer(), LLTextEditor::drawPreeditMarker(), LLTextEditor::drawSelectionBackground(), LLTextEditor::drawText(), LLWorldMapView::drawTracking(), LLNetMap::drawTracking(), LLMessageSystem::dumpReceiveCounts(), LLThrottleGroup::dynamicAdjust(), F32_to_U16_ROUND(), F32_to_U8_ROUND(), LLPanelDisplay::fractionFromDecimal(), LLVLComposition::generateHeights(), LLVLComposition::generateTexture(), LLSurface::generateWaterTexture(), LLProfile::genNGon(), LLFontGL::getAscenderHeight(), LLTextEditor::getCursorPosFromLocalCoord(), LLFontGL::getDescenderHeight(), LLFocusMgr::getFocusFlashWidth(), LLUIImage::getHeight(), LLScrollListText::getHeight(), LLFolderViewItem::getItemHeight(), LLFontGL::getLineHeight(), LLMenuItemGL::getNominalHeight(), LLTextEditor::getPreeditFontSize(), LLLineEditor::getPreeditFontSize(), LLTextEditor::getPreeditLocation(), LLViewerParcelMgr::getSelectedArea(), LLAgent::getSLURL(), LLPanelObject::getState(), LLUIImage::getWidth(), LLFontGL::getWidth(), gl_draw_scaled_image_with_border(), LLUI::glPointToScreen(), LLViewerWindow::handleDoubleClick(), LLScrollableContainerView::handleDragAndDrop(), LLMenuGL::handleHover(), LLLineEditor::handleHover(), LLWorldMapView::handleMouseDown(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleMouseMove(), LLViewerWindow::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLTextEditor::LLTextEditor(), LLTextureCtrl::LLTextureCtrl(), LLViewerWindow::LLViewerWindow(), LLWebBrowserCtrl::LLWebBrowserCtrl(), LLFont::loadFace(), LLColor4U::multAll(), LLPanelPick::onClickSet(), LLPanelClassified::onClickSet(), LLBumpImageList::onSourceLoaded(), LLColor4::operator const LLColor4U(), LLVolumeMessage::packPathParams(), LLVolumeMessage::packProfileParams(), LLPrimitive::packTEMessage(), LLViewerWindow::performPick(), LLPanelClassified::processClassifiedInfoReply(), LLPanelEvent::processEventInfoReply(), LLPanelGroupLandMoney::impl::processGroupLand(), LLPanelPlace::processParcelInfoReply(), LLPanelPick::processPickInfoReply(), LLFloaterLandHoldings::processPlacesReply(), LLPanelLandOptions::refresh(), LLPanelLandObjects::refresh(), LLManipRotate::render(), LLFontGL::render(), render_ui_2d(), LLNetMap::renderPoint(), LLNetMap::renderScaledPointGlobal(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManip::renderTickValue(), LLWebBrowserCtrl::reshape(), LLViewerWindow::reshape(), LLTextEditor::reshape(), LLCheckBoxCtrl::reshape(), LLDragHandleTop::reshapeTitleBox(), LLWebBrowserTexture::resize(), LLToolSelectLand::roundXY(), LLUI::screenPointToGL(), LLFolderView::scrollToShowItem(), LLViewerParcelMgr::selectParcelAt(), LLPanelObject::sendRotation(), LLUI::setCursorPositionScreen(), LLWorldMapView::setDirectionPos(), LLNetMap::setDirectionPos(), LLAudioEngine_FMOD::setInternalGain(), LLAudioEngine_FMOD::setInternetStreamGain(), LLSnapshotLivePreview::setThumbnailImageSize(), LLColor4U::setVecScaleClamp(), snap_to_sig_figs(), LLFloaterEnvSettings::timeToString(), to_region_handle(), LLFloaterWorldMap::trackLocation(), LLAudioChannelFMOD::updateBuffer(), LLFloater::updateButtons(), LLDrawable::updateDistance(), LLLayoutStack::updateLayout(), LLFloaterWorldMap::updateLocation(), LLFloaterBuyLandUI::updateParcelInfo(), LLCloudGroup::updatePuffCount(), LLSnapshotLivePreview::updateSnapshot(), LLWorld::updateWaterObjects(), LLNetMap::viewPosToGlobal(), and LLViewerParcelMgr::writeHighlightSegments().
Definition at line 171 of file llmath.h.
References S32.
Referenced by LLWorldMapView::draw(), LLTracker::drawMarker(), fast_setup(), LLVLComposition::generateTexture(), LLCloudLayer::getDensityRegion(), LLViewerWindow::handlePerFrameHover(), LLOverlayBar::layoutButtons(), LLVOTreeNew::llrand_signed(), LLVOTreeNew::llrand_unsigned(), LLPerlinNoise::noise1(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), LLStatusBar::refresh(), LLManipScale::renderSnapGuides(), LLHUDText::renderText(), LLManip::renderTickValue(), LLVOSurfacePatch::updateGeometry(), LLVOGrass::updateLOD(), LLVOSky::updateReflectionGeometry(), and LLSurfacePatch::updateVisibility().
Definition at line 415 of file llmath.h.
References lerp(), and ramp().
Referenced by clamp_rescale(), LLSnapshotLivePreview::draw(), and LLAgent::setCameraZoomFraction().
Definition at line 381 of file llmath.h.
References llround(), and S32.
Referenced by LLVector3::snap().
double d |
Definition at line 357 of file llmath.h.
Referenced by LLCamera::AABBInFrustum(), LLCamera::AABBInFrustumNoFarClip(), AABBSphereIntersect(), LLCommandLineParser::addOptionDesc(), LLCamera::calculateWorldFrustumPlanes(), derez_objects(), LLMessageSystem::generateDigestForNumber(), LLMessageSystem::generateDigestForNumberAndUUIDs(), get_occlusion_indices(), LLManipTranslate::highlightIntersection(), noise3(), LLPerlinNoise::noise3(), planarProjection(), process_improved_im(), ray_tetrahedron(), LLManipTranslate::renderGrid(), LLSelectNode::renderOneSilhouette(), LLManipTranslate::restoreGL(), LLImageGL::setImage(), LLPlane::setVec(), LLCamera::sphereInFrustum(), and utf16str_wstring_length().
const F32 DEG_TO_RAD = 0.017453292519943295769236907684886f |
Definition at line 90 of file llmath.h.
Referenced by LLToolPlacer::addObject(), LLPanelFaceSetTEFunctor::apply(), LLFollowCam::calculatePitchSineAndCosine(), LLAgent::cameraOrbitOver(), LLAgent::clampPitchToLimits(), LLVolumeImplFlexible::doIdleUpdate(), LLManipRotate::dragConstrained(), LLVOTree::drawBranchPipeline(), gl_perspective(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolCamera::handleHover(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), LLToolGrab::handleHoverInactive(), LLManipRotate::handleMouseDownOnPart(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), lat2xyz(), LLVOAvatar::loadSkeletonNode(), mayaQ(), LLBodyNoiseMotion::onUpdate(), LLEyeMotion::onUpdate(), LLAgent::propagate(), LLVisualParamHint::render(), LLManipRotate::renderSnapGuides(), LLDrawPoolTree::renderTree(), LLSelectMgr::selectionRotateAroundZ(), LLPanelObject::sendRotation(), toggle_build_mode(), LLWLParamManager::update(), LLAgent::updateCamera(), LLVOAvatar::updateCharacter(), LLVOTree::updateGeometry(), LLAgent::updateLookAt(), and LLVOSky::updateSky().
const F32 F_APPROXIMATELY_ZERO = 0.00001f |
Definition at line 92 of file llmath.h.
Referenced by LLVOSky::calcSkyColorWLVert(), is_approx_zero(), LLVector3::isNull(), LLVector3d::isNull(), LLVector2::isNull(), LLManip::nearestPointOnLineFromMouse(), and LLQuaternion::shortestArc().
Definition at line 84 of file llmath.h.
Referenced by angle_between(), LLAgent::autoPilot(), azimuth(), LLVOWLSky::buildFanBuffer(), calc_air_sca_sea_level(), calc_bouncy_animation(), LLVOWLSky::calcPhi(), LLVOSky::calcSkyColorWLVert(), LLVolumeImplFlexible::doFlexibleUpdate(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLPieMenu::draw(), LLPieMenu::drawBackground(), LLWorldMapView::drawTrackingCircle(), LLPath::generate(), LLPath::genNGon(), LLProfile::genNGon(), LLQuaternion::getAngleAxis(), LLWLAnimator::getDayTime(), LLLandEdit::handleEvent(), LLVOGrass::initClass(), llsimple_angle(), LLAudioEngine::mapWindVecToPan(), LLAudioEngine::mapWindVecToPitch(), LLWLParamSet::mix(), LLHUDEffectBeam::render(), LLManipRotate::renderSnapGuides(), LLVolume::sculptGeneratePlaceholder(), send_agent_update(), LLVolumeImplFlexible::setAttributesOfAllSections(), setup_patch_cosines(), setup_patch_icosines(), LLTreeParams::ShapeRatio(), LLJointSolverRP3::solve(), LLViewerPartSourceScript::update(), and LLVOSky::updateHeavenlyBodyGeometry().
const F32 F_PI_BY_TWO = 1.5707963267948966192313216916398f |
Definition at line 86 of file llmath.h.
Referenced by calc_bouncy_animation(), LLManipRotate::dragConstrained(), LLManipRotate::dragUnconstrained(), LLNetMap::draw(), LLWorldMapView::drawTrackingCircle(), hud_render_text(), lat2xyz_rad(), LLTargetingMotion::onUpdate(), LLEyeMotion::onUpdate(), LLImagePreviewSculpted::rotate(), LLImagePreviewAvatar::rotate(), and LLPreviewAnimation::rotate().
Definition at line 87 of file llmath.h.
Referenced by LLVOAvatar::computeBodySize(), LLManipScale::edgeToUnitVector(), LLAgent::handleScrollWheel(), LLEditingMotion::onUpdate(), ray_tetrahedron(), and LLWorld::updateVisibilities().
Definition at line 88 of file llmath.h.
Referenced by LLAgent::calcCameraMinDistance(), LLManipScale::cornerToUnitVector(), LLViewerPartGroup::LLViewerPartGroup(), ray_tetrahedron(), and LLDrawPoolWLSky::renderDome().
Definition at line 85 of file llmath.h.
Referenced by LLVOWLSky::buildStripsBuffer(), LLHorizontalCompass::draw(), draw_shockwave(), LLWorldMapView::drawTrackingCircle(), gl_arc_2d(), gl_circle_2d(), gl_deep_circle(), gl_washer_2d(), gl_washer_spokes_2d(), LLVOAvatar::idleUpdate(), llsimple_angle(), LLFloaterWindLight::onSunMoved(), LLPrimitive::packTEMessage(), LLWLParamSet::setEastAngle(), LLWLParamSet::setSunAngle(), LLFloaterWindLight::syncMenu(), LLPrimitive::unpackTEMessage(), LLViewerPartSourceChat::update(), LLViewerPartSourceSpiral::update(), LLViewerPartSourceChat::updatePart(), LLViewerPartSourceSpiral::updatePart(), and windCallback().
const F32 FAST_MAG_ALPHA = 0.960433870103f |
const F32 FAST_MAG_BETA = 0.397824734759f |
const F32 FP_MAG_THRESHOLD = 0.0000001f |
Definition at line 97 of file llmath.h.
Referenced by LLVector4::normalize(), LLVector3::normalize(), LLVector2::normalize(), LLQuaternion::normalize(), LLQuaternion::normQuat(), LLVector4::normVec(), LLVector3::normVec(), LLVector3d::normVec(), and LLVector2::normVec().
Definition at line 363 of file llmath.h.
Referenced by LLStringBase< T >::_makeASCII(), LLCamera::AABBInFrustum(), LLCamera::AABBInFrustumNoFarClip(), AABBSphereIntersect(), LLMatrix3::add(), add_exit_pops(), LLPreviewGesture::addAnimations(), LLBBox::addBBoxAgent(), LLViewerObject::addChild(), LLOctreeNode< T >::addChild(), LLStringBase< T >::addCRLF(), VertexCache::AddEntry(), LLFrameStats::addFrameData(), LLGeometryManager::addGeometryCount(), LLParticlePartition::addGeometryCount(), LLProfile::addHole(), LLLocalIDHashMap< DATA_TYPE, SIZE >::addIter(), LLJointStateBlender::addJointState(), LLAppViewer::addLoginURI(), LLViewerParcelOverlay::addPropertyLine(), LLPreviewGesture::addSounds(), LLViewerObject::addThisAndAllChildren(), LLViewerObject::addThisAndNonJointChildren(), LLViewerStats::addToMessage(), LLPanelGroupInvite::addUsers(), LLPanelGroupInvite::impl::addUsers(), LLHTTPNode::allNodePaths(), LLPolyMeshSharedData::allocateVertexData(), LLVOVolume::animateTextures(), LLAgent::anyControlGrabbed(), append_node_paths(), LLPanelAvatarClassified::apply(), LLKeyframeMotion::applyKeyframes(), LLUndoWearable::applyUndoRedo(), LLViewerCamera::areVertsVisible(), LLPieMenu::arrange(), LLScriptLibrary::assignExec(), LLGLSLShader::attachObjects(), LLTextEditor::autoIndent(), LLOctreeRoot< T >::balance(), base32_encode(), LLToolDragAndDrop::beginDrag(), LLToolDragAndDrop::beginMultiDrag(), LLViewerKeyboard::bindKey(), LLViewerKeyboard::bindNamedFunction(), LLJointStateBlender::blendJointStates(), LLPipeline::blurReflectionMap(), LLViewerObject::boostTexturePriority(), LLSpatialGroup::boundObjects(), build_copy_matrix(), build_decopy_matrix(), build_patch_dequantize_table(), build_patch_quantize_table(), LLHTTPRegistrar::buildAllServices(), LLFloater::buildButtons(), LLVOAvatar::buildCharacter(), LLFloaterClothing::buildClothingList(), LLPieMenuBranch::buildDrawLabel(), LLVOWLSky::buildFanBuffer(), LLFloaterWorldMap::buildLandmarkIDLists(), LLInventoryPanel::buildNewViews(), LLInventoryModel::buildParentChildMap(), LLVOWLSky::buildStripsBuffer(), bytestream2uuid(), calc_shame(), LLCamera::calcAgentFrustumPlanes(), LLAgent::calcCameraMinDistance(), LLSpatialPartition::calcDistance(), LLAgent::calcFocusOffset(), LLSurfacePatch::calcNormal(), LLVertexBuffer::calcStride(), LLPanelAvatarClassified::canClose(), LLVOAvatar::canGrabLocalTexture(), category_string_to_category(), category_ui_string_to_category(), LLInventoryTransactionObserver::changed(), LLInventoryAddedObserver::changed(), LLFontGL::charFromPixelOffset(), LLOctreePick::check(), LLUUIDHashMap< DATA_TYPE, SIZE >::check(), LLQueuedThread::check(), LLLocalIDHashMap< DATA_TYPE, SIZE >::check(), checkLevelMap(), LLMessageSystem::checkMessages(), LLGLState::checkTextureChannels(), clamp_precision(), LLViewerObjectList::cleanDeadObjects(), LLInventoryView::cleanup(), LLStdStringTable::cleanup(), LLAudioEngine::cleanupBuffer(), LLHUDManager::cleanupEffects(), LLVOSky::cleanupGL(), LLSpatialBridge::cleanupReferences(), LLVolumeLODGroup::cleanupRefs(), LLViewerPartSim::cleanupRegion(), LLVolume::cleanupTriangleData(), LLCullResult::clear(), LLAppearance::clear(), LLJointStateBlender::clear(), LLViewerObjectList::clearDebugText(), LLViewerObject::clearDrawableState(), LLViewerPartSim::clearParticlesByID(), code_patch(), code_patch_header(), LLInventoryModel::collectDescendentsIf(), LLToolDragAndDrop::commitGiveInventoryCategory(), compress_patch(), LLManipScale::conditionalHighlight(), LLSurface::connectNeighbor(), LLObjectSelection::contains(), LLStringBase< T >::containsNonprintable(), VertexCache::Copy(), CopyFolder(), LLImageRaw::copyLineScaled(), LLPrimitive::copyTEs(), LLImageRaw::copyUnscaled3onto4(), LLImageRaw::copyUnscaled4onto3(), LLSkyTex::create(), LLSurface::create(), LLCloudLayer::create(), LLVolumeFace::createBinormals(), LLVolumeFace::createCap(), LLAlertDialog::createDialog(), LLVOVolume::createDrawable(), LLVOTextBubble::createDrawable(), LLVOSky::createDrawable(), LLPipeline::createGLBuffers(), LLMenuGL::createJumpKeys(), LLPostProcess::createNoiseTexture(), LLSurface::createPatchData(), LLVolumeFace::createSide(), LLAgent::createStandardWearables(), LLSurface::createSTexture(), LLVolumeFace::createUnCutCubeCap(), LLPanelInventory::createViewsForCategory(), LLVolume::createVolumeFaces(), LLSurface::createWaterTexture(), LLToolDragAndDrop::dad3dUpdateInventoryCategory(), dct_patch(), LLMD5::decode(), decode_patch(), LLImageTGA::decodeAndProcess(), LLImageTGA::decodeColorMap(), LLTemplateMessageReader::decodeData(), LLImageJ2COJ::decodeImpl(), decodeLevel(), LLWind::decompress(), decompress_patch(), decompress_patchv(), LLSurface::decompressDCTPatch(), LLGestureList::deleteAll(), LLPtrSkipMap< INDEX_T, DATA_T, BINARY_DEPTH >::deleteAllData(), LLPtrSkipList< DATA_TYPE, BINARY_DEPTH >::deleteAllData(), LLScriptEdCore::deleteBridges(), LLOctreeNode< T >::deleteChild(), LLInventoryModel::deleteFromServer(), LLVolumeLODGroup::derefLOD(), LLSelectMgr::deselectObjectAndFamily(), LLSDSerialize::deserialize(), LLMultiGesture::deserialize(), LLKeyframeMotion::deserialize(), LLGestureList::deserialize(), LLCloudLayer::destroy(), LLOctreeNode< T >::destroy(), LLViewerPartSim::destroyClass(), LLSpatialGroup::destroyGL(), LLStandardBumpmap::destroyGL(), LLCubeMap::destroyGL(), LLImageGL::destroyGLTexture(), LLTreeNode< T >::destroyListeners(), LLVOAvatar::detachObject(), LLViewerObjectList::dirtyAllObjectInventory(), LLSurface::dirtyAllPatches(), LLPipeline::dirtyPoolObjectTextures(), LLSurfacePatch::dirtyZ(), LLSurface::disconnectAllNeighbors(), LLCloudLayer::disconnectAllNeighbors(), LLSurfacePatch::disconnectNeighbor(), LLSurface::disconnectNeighbor(), display(), do_basic_glibc_backtrace(), LLTextEditor::doDelete(), LLVolumeImplFlexible::doFlexibleUpdate(), LLCategoryDropDescendentsObserver::done(), LLOutfitFetch::done(), LLRightClickInventoryFetchDescendentsObserver::done(), LLManipRotate::drag(), LLFolderBridge::dragCategoryIntoFolder(), LLTextureView::draw(), LLStatGraph::draw(), LLStatBar::draw(), LLNetMap::draw(), LLMemoryView::draw(), LLFrameStatView::draw(), LLFloaterJoystick::draw(), LLMakeOutfitDialog::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLPieMenu::draw(), LLLineEditor::draw(), LLMultiFloater::draw(), LLFloater::draw(), LLPieMenu::drawBackground(), LLVOTree::drawBranchPipeline(), LLWorldMapView::drawImageStack(), LLTextEditor::drawPreeditMarker(), LLFloaterIMPanel::dropCategory(), LLFrameStats::dump(), LLVolumeLODGroup::dump(), LLMultiGesture::dump(), dump_prehash_files(), LLVOAvatar::dumpAvatarTEs(), LLLocalIDHashMap< DATA_TYPE, SIZE >::dumpBin(), LLDataPackerBinaryBuffer::dumpBufferToLog(), LLViewerRegion::dumpCache(), LLMemoryView::dumpData(), LLKeyframeMotion::JointMotionList::dumpDiagInfo(), LLLocalIDHashMap< DATA_TYPE, SIZE >::dumpIter(), LLVOAvatar::dumpLocalTextures(), LLVFS::dumpLockCounts(), LLMessageSystem::dumpPacketToLog(), LLMessageSystem::dumpReceiveCounts(), LLThrottleGroup::dynamicAdjust(), LLPipeline::enableLights(), LLMD5::encode(), LLImageTGA::encode(), LLImageBMP::encode(), encode_vorbis_file(), LLImageJ2COJ::encodeImpl(), tut::ensure_equals(), tut::HTTPNodeTestData::ensureInArray(), LLWeb::escapeURL(), LLXMLNode::escapeXML(), LLView::escapeXML(), LLParcel::extendAABB(), LLFolderView::extendSelection(), face_index_from_id(), LLImageRaw::fastFractionalMult(), LLScriptFilePosition::fdotabs(), LLImageRaw::fill(), tut::fillmap(), LLDynamicQueuePtr< Type >::find(), find_file(), LLInventoryModel::findCatUUID(), LLCloudLayer::findCloudGroup(), LLFloaterTexturePicker::findItemID(), LLFloaterLandmark::findItemID(), LLFloaterView::findNeighboringPosition(), LLKeyUseTracker< TKey, TData >::findNode(), LLViewerObjectList::findOrphans(), LLViewerObjectList::findReferences(), LLVorbisDecodeState::finishDecode(), LLInventoryCallbackManager::fire(), LLUUIDHashMapIter< DATA_TYPE, SIZE >::first(), LLLocalIDHashMapIter< DATA_TYPE, SIZE >::first(), LLFontGL::firstDrawableChar(), LLUndoBuffer::flushActions(), LLAPIService::followRemainder(), forAllDrawables(), LLVOAvatar::forceBakeAllTextures(), LLSDXMLFormatter::format_impl(), LLPartSysCompressedPacket::fromLLPartInitData(), LLTexLayerSet::gatherAlphaMasks(), LLVOVolume::genBBoxes(), LLDynamicPath::generate(), LLPath::generate(), LLProfile::generate(), LLVLComposition::generateComposition(), LLVLComposition::generateHeights(), LLPipeline::generateReflectionMap(), LLVLComposition::generateTexture(), GenerateUniqueHFSUniStr(), LLSurface::generateWaterTexture(), LLPolyMeshSharedData::genIndices(), LLProfile::genNGon(), LLFace::genVolumeBBoxes(), LLUUIDHashMap< DATA_TYPE, SIZE >::get(), LLSDUnnamedNamespace::ImplMap::get(), LLLocalIDHashMap< DATA_TYPE, SIZE >::get(), LLGestureList::get(), get_random_bytes(), LLInventoryView::getActiveInventory(), LLVOAvatar::getAnimLabels(), LLVOAvatar::getAnimNames(), LLWind::getAverage(), LLVOVolume::getBinRadius(), LLXMLNode::getBoolValue(), LLSphere::getBoundingSphere(), LLXMLNode::getByteValue(), LLWind::getCloudVelocity(), LLImageBase::getCodecFromExtension(), LLVOAvatar::getCollisionVolumeID(), LLControlGroup::getColor(), LLScrollListItem::getContentsCSV(), LLTextEditor::getCurrentLineAndColumn(), LLFloaterChatterBox::getCurrentVoiceFloater(), LLCloudLayer::getDensityRegion(), LLVolumeLODGroup::getDetailFromTan(), LLXMLNode::getDoubleValue(), LLViewerTextEditor::getEmbeddedText(), LLXMLNode::getFloatValue(), LLAudioEngine::getFreeBuffer(), LLAudioEngine::getFreeChannel(), LLVOTextBubble::getGeometry(), LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), LLVOGrass::getGeometry(), LLFace::getGeometryVolume(), LLGLManager::getGLInfo(), LLAgent::getGroupContribution(), LLAgent::getGroupData(), LLVOAvatar::getHUDBBox(), LLMakeOutfitDialog::getIncludedItems(), LLXMLNode::getIntValue(), LLVOAvatar::getLocalTextureByteCount(), LLXMLNode::getLongValue(), LLStat::getMax(), LLStat::getMaxPerSec(), LLStat::getMean(), LLStat::getMeanDuration(), LLStat::getMeanPerSec(), LLStat::getMin(), LLStat::getMinDuration(), LLStat::getMinPerSec(), LLResMgr::getMonetaryString(), LLOctreeNode< T >::getNodeAt(), LLLinkedList< DATA_TYPE >::getNthData(), LLDoubleLinkedList< DATA_TYPE >::getNthData(), LLViewerObject::getNumIndices(), LLViewerObject::getNumVertices(), LLVOAvatar::getOffObject(), LLViewerParcelOverlay::getOwnedRatio(), LLHTTPAssetStorage::getPendingDetails(), LLAgent::getPowerInGroup(), LLResMgr::getRes(), LLScriptDataCollection::getSavedSize(), LLPostProcess::getShaderUniforms(), LLVOAvatar::getSpatialExtents(), LLMessageStringTable::getString(), LLCategory::getSubCategory(), LLImageRaw::getSubImage(), LLStat::getSum(), LLStat::getSumDuration(), LLFastTimerView::getTime(), LLVolume::getTriangleIndices(), LLXMLNode::getUnsignedValue(), LLXMLNode::getUUIDValue(), LLWind::getVelocity(), LLAgent::getWearableFromWearableItem(), LLFontGL::getWidthF32(), LLToolDragAndDrop::giveInventoryCategory(), gl_rect_2d_checkerboard(), glh_copy_matrix(), gSetInitDataDefaults(), LLTeleportHandler::handle(), handle_selected_texture_info(), LLToolDragAndDrop::handleCopyProtectedCategory(), LLSpatialGroup::handleDestruction(), LLBeginIMSession::handleEvent(), LLFastTimerView::handleHover(), LLScrollableContainerView::handleKeyHere(), LLToolBrushLand::handleMouseDown(), LLToolSelect::handleObjectSelection(), LLToolSelectRect::handleRectangleSelection(), tut::AlphaNode::handles(), LLScrollableContainerView::handleScrollWheel(), LLTextEditor::handleSpecialKey(), LLScrollableContainerView::handleToolTip(), LLSDUnnamedNamespace::ImplMap::has(), LLAgent::hasPowerInGroup(), headerCallback(), LLMD5::hex_digest(), LLManipTranslate::highlightIntersection(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLSelectMgr::highlightObjectAndFamily(), htonmemcpy(), idct_patch(), LLAudioEngine::idle(), idle_startup(), LLVOTextBubble::idleUpdate(), LLVOAvatar::idleUpdate(), LLNotecard::importEmbeddedItemsStream(), LLWearable::importFile(), LLCacheName::importFile(), LLParcel::importStream(), VertexCache::InCache(), LLInventoryView::incrementalFind(), LLTextEditor::indentLine(), init(), LLWind::init(), LLVOSky::init(), LLSkyTex::init(), LLTable< T >::init(), LLScriptExecute::init(), LLVFSFileBlock::init(), LLPerlinNoise::init(), LLCategory::init(), LLSkipList< DATA_TYPE, BINARY_DEPTH >::init(), init_group_list(), init_landmark_menu(), init_supported_expressions(), LLTextureCache::initCache(), LLVOTree::initClass(), LLVOGrass::initClass(), LLViewerImage::initClass(), LLCurl::initClass(), LLSkyTex::initEmpty(), LLFloater::initFloater(), LLCubeMap::initGL(), LLCubeMap::initGLData(), LLScriptLSOParse::initOpCodePrinting(), LLGradientPaletteList::initPalette(), LLCubeMap::initRawData(), LLVOWLSky::initStars(), LLPanelDisplay::initWindowSizeControls(), LLTreeNode< T >::insert(), LLOctreeRoot< T >::insert(), LLOctreeNode< T >::insert(), inventory_and_asset_types_match(), LLPanelInventory::inventoryChanged(), LLFloaterIMPanel::inviteToSession(), LLParcel::isAgentBlockedFromParcel(), LLVOAvatar::isAnyAnimationSignaled(), LLViewerObject::isChild(), LLFloaterCustomize::isDirty(), LLAggregatePermissions::isEmpty(), LLVolume::isFaceMaskValid(), LLKeywordToken::isHead(), LLAgent::isInGroup(), LLFolderBridge::isItemRemovable(), LLMessageSystem::isMatchingDigestForWindow(), LLMessageSystem::isMatchingDigestForWindowAndUUIDs(), LLScrollListCtrl::isRepeatedChars(), LLViewerObject::isSeat(), LLViewerObjectList::killAllObjects(), LLViewerObjectList::killObjects(), lang_country_variant_from_envstring(), LLVOAvatar::lazyAttach(), LLPanelGroups::leave(), LLVolume::lineSegmentIntersect(), LLVoiceVisualizer::lipStringToF32s(), LLAgent::LLAgent(), LLAggregatePermissions::LLAggregatePermissions(), LLApp::LLApp(), LLAttentionSet::LLAttentionSet(), LLBakedUploadData::LLBakedUploadData(), LLCloudLayer::LLCloudLayer(), LLEnum::LLEnum(), LLFastLn::LLFastLn(), LLFastTimerView::LLFastTimerView(), LLFloater::LLFloater(), LLFloaterPay::LLFloaterPay(), llgl_dump(), LLGLClampToFarClip::LLGLClampToFarClip(), LLHUDEffectBeam::LLHUDEffectBeam(), LLJointStateBlender::LLJointStateBlender(), LLKeyboard::LLKeyboard(), LLLineSegmentAABB(), LLLocalIDHashMap< DATA_TYPE, SIZE >::LLLocalIDHashMap(), LLMakeOutfitDialog::LLMakeOutfitDialog(), LLManipScale::LLManipScale(), LLMessageStringTable::LLMessageStringTable(), LLMotion::LLMotion(), LLNameValue::LLNameValue(), LLNotifyBox::LLNotifyBox(), LLPartSysCompressedPacket::LLPartSysCompressedPacket(), LLPtrSkipList< DATA_TYPE, BINARY_DEPTH >::LLPtrSkipList(), LLPtrSkipMap< INDEX_T, DATA_T, BINARY_DEPTH >::LLPtrSkipMap(), LLPtrSkipMapNode< INDEX_T, DATA_T, BINARY_DEPTH >::LLPtrSkipMapNode(), LLPtrSkipList< DATA_TYPE, BINARY_DEPTH >::LLPtrSkipNode::LLPtrSkipNode(), LLRayAABB(), LLResMgr::LLResMgr(), LLScriptDataCollection::LLScriptDataCollection(), LLScriptEventData::LLScriptEventData(), LLSelectNode::LLSelectNode(), LLSkipMap< INDEX_TYPE, DATA_TYPE, BINARY_DEPTH >::LLSkipMap(), LLSkipMap< INDEX_TYPE, DATA_TYPE, BINARY_DEPTH >::LLSkipMapNode::LLSkipMapNode(), LLSkipList< DATA_TYPE, BINARY_DEPTH >::LLSkipNode::LLSkipNode(), LLSphereAABB(), LLStat::LLStat(), LLStdStringTable::LLStdStringTable(), LLStringTable::LLStringTable(), LLSurface::LLSurface(), LLSurfacePatch::LLSurfacePatch(), LLThrottleGroup::LLThrottleGroup(), LLTransferManager::LLTransferManager(), LLUndoBuffer::LLUndoBuffer(), LLVFS::LLVFS(), LLViewerJoystick::LLViewerJoystick(), LLViewerKeyboard::LLViewerKeyboard(), LLViewerLayer::LLViewerLayer(), LLViewerParcelMgr::LLViewerParcelMgr(), LLViewerParcelOverlay::LLViewerParcelOverlay(), LLViewerStats::LLViewerStats(), LLViewerThrottleGroup::LLViewerThrottleGroup(), LLVLComposition::LLVLComposition(), LLVOAvatar::LLVOAvatar(), LLVoiceVisualizer::LLVoiceVisualizer(), LLVolumeLODGroup::LLVolumeLODGroup(), LLVOSky::LLVOSky(), LLVOTextBubble::LLVOTextBubble(), LLWorld::LLWorld(), LLAgentPilot::load(), LLShaderMgr::loadBasicShaders(), LLBVHLoader::loadBVHFile(), LLViewerRegion::loadCache(), LLWLDayCycle::loadDayCycle(), LLFeatureManager::loadGPUClass(), LLTextEditor::loadKeywords(), LLPolyMeshSharedData::loadMesh(), LLShaderMgr::loadShaderFile(), LLInventoryModel::loadSkeleton(), LLPreviewGesture::loadUIFromGesture(), LLSaleInfo::lookup(), LLInventoryType::lookup(), LLAssetType::lookup(), LLAssetType::lookupHumanReadable(), LLCategory::lookupName(), lsa_bubble_sort(), lsa_decrease_ref_count(), lsa_get_data(), lsa_get_list_ptr(), lscript_pusharge(), lso_print_tabs(), LLDrawable::makeActive(), LLSDUnnamedNamespace::ImplArray::makeArray(), LLStdStringTable::makehash(), LLSDUnnamedNamespace::ImplMap::makeMap(), LLAgent::makeNewOutfit(), LLViewerGestureList::matchPrefix(), LLFontGL::maxDrawableChars(), mbcsstring_makeASCII(), mean_name_callback(), LLDrawable::mergeFaces(), LLInventoryModel::messageUpdateCore(), LLWLParamSet::mix(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerWindow::mousePointOnLandGlobal(), LLViewerJoystick::moveAvatar(), LLViewerJoystick::moveFlycam(), LLViewerJoystick::moveObjects(), LLFloater::moveResizeHandlesToFront(), LLDrawable::moveUpdatePipeline(), LLLine::nearestApproach(), LLManipScale::nearestAxis(), LLUUIDHashMapIter< DATA_TYPE, SIZE >::next(), LLLocalIDHashMapIter< DATA_TYPE, SIZE >::next(), noise2(), LLPerlinNoise::noise2(), noise3(), LLPerlinNoise::noise3(), LLIMMgr::noteMutedUsers(), LLIMMgr::noteOfflineUsers(), notify_cautioned_script_question(), LLViewerParcelMgr::notifyObservers(), LLCacheName::Impl::notifyObservers(), LLTreeNode< T >::notifyRemoval(), LLHandMotion::onActivate(), LLFloaterCustomize::onBtnMakeOutfit(), LLPanelAvatar::onClickCSR(), LLFloaterAvatarTextures::onClickDump(), LLVOAvatar::onCustomizeEnd(), LLVOAvatar::onCustomizeStart(), LLKeyframeMotion::onInitialize(), LLAgent::onInitialWearableAssetArrived(), LLBumpImageList::onSourceLoaded(), operator!=(), LLDispatchSetEstateAccess::operator()(), operator*(), operator*=(), operator+=(), operator-=(), LLUUID::operator<(), operator<<(), operator==(), LLUUID::operator>(), operator>>(), LLUUID::operator^=(), output_statistics(), ownership_string_to_status(), LLDataPackerAsciiFile::packBinaryData(), LLDataPackerAsciiBuffer::packBinaryData(), LLDataPackerAsciiFile::packBinaryDataFixed(), LLDataPackerAsciiBuffer::packBinaryDataFixed(), LLPrimitive::packTEField(), LLThrottleGroup::packThrottle(), parse_gl_version(), LLColor4U::parseColor4U(), LLCommandLineParser::parseCommandLineString(), LLQueryResponder::parseSection(), LLManipScale::partToMaxScale(), LLManipScale::partToMinScale(), LLTextEditor::paste(), LLFolderBridge::pasteFromClipboard(), LLFloaterPay::payDirectly(), LLToolDragAndDrop::pickCallback(), LLSimpleHash< U32, REQUEST_HASH_SIZE >::pop_element(), CoarseLocationUpdate::post(), post_show_depth_buffer(), LLPanelGroupRoles::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroup::postBuild(), LLPanelDisplay::postBuild(), LLPanelRegionTextureInfo::postBuild(), LLFloaterLandHoldings::postBuild(), LLFloaterJoystick::postBuild(), LLPipeline::postSort(), LLLineEditor::postvalidateFloat(), prescan_patch(), LLLineEditor::prevalidateFloat(), LLLineEditor::prevalidateInt(), LLLineEditor::prevalidateNonNegativeS32(), LLLineEditor::prevalidatePositiveS32(), print_exit_pops(), LLFace::printDebugInfo(), LLScriptLSOParse::printGlobalFunctions(), LLMemType::printMem(), LLCommandLineParser::printOptions(), LLScriptLSOParse::printRegisters(), LLScriptLSOParse::printStates(), LLAres::process(), process_avatar_animation(), LLFilterXMLRPCRequest2LLSD::process_impl(), process_kill_object(), process_logout_reply(), process_mean_collision_alert_message(), process_name_value(), process_packet_ack(), process_remove_name_value(), process_script_dialog(), process_script_question(), process_sim_stats(), LLAgent::processAgentGroupDataUpdate(), LLAgent::processAgentInitialWearablesUpdate(), LLVOAvatar::processAvatarAppearance(), LLPanelAvatar::processAvatarGroupsReply(), LLFloaterAvatarPicker::processAvatarPickerReply(), LLInventoryModel::processBulkUpdateInventory(), LLAvatarTracker::processChange(), LLPanelDirBrowser::processDirClassifiedReply(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirLandReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPlacesReply(), LLRegionEconomy::processEconomyData(), LLGlobalEconomy::processEconomyData(), LLSelectMgr::processForceObjectSelect(), LLOctreeSelect::processGroup(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLPanelGroupLandMoney::impl::processGroupLand(), LLGroupMgr::processGroupMembersReply(), LLGroupMgr::processGroupRoleDataReply(), LLGroupMgr::processGroupRoleMembersReply(), LLGroupMgr::processGroupTitlesReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLInventoryModel::processInventoryDescendents(), LLInventoryModel::processMoveInventoryItem(), LLPanelGroupNotices::processNotices(), LLAvatarTracker::processNotify(), LLSelectMgr::processObjectProperties(), LLViewerObjectList::processObjectUpdate(), LLPanelLandObjects::processParcelObjectOwnersReply(), LLFloaterPay::processPayPriceReply(), LLFloaterLandHoldings::processPlacesReply(), LLVOAvatar::processRebakeAvatarTextures(), LLInventoryModel::processRemoveInventoryFolder(), LLInventoryModel::processRemoveInventoryItem(), LLGroupMoneySalesTabEventHandler::processReply(), LLGroupMoneyDetailsTabEventHandler::processReply(), LLAgent::processScriptControlChange(), LLTextureFetchWorker::processSimulatorPackets(), LLInventoryModel::processUpdateInventoryFolder(), LLViewerObject::processUpdateMessage(), LLCacheName::Impl::processUUIDReply(), LLCacheName::Impl::processUUIDRequest(), LLHUDManager::processViewerEffect(), LLTextureCache::purgeAllTextures(), LLInventoryModel::purgeDescendentsOf(), LLRenderPass::pushBatches(), pushBufferVerts(), LLOctreeNode< T >::pushCenter(), pushVerts(), pushVertsColorCoded(), LLViewerPartSim::put(), LLMatrix4::quaternion(), LLMatrix3::quaternion(), LLAres::UriRewriteResponder::queryResult(), LLQueryResponder::queryResult(), randGauss(), randomize_sphere(), LLViewerWindow::rawSnapshot(), LLPartSysCompressedPacket::readAlpha_range(), LLPartSysCompressedPacket::readAlphaScaleDiffEqn_range(), LLTexLayerSetBuffer::readBackAndUpload(), LLPartSysCompressedPacket::readEnvironment(), LLTextureCache::readHeaderCache(), LLPngWrapper::readPng(), LLPartSysCompressedPacket::readScale_range(), LLPartSysCompressedPacket::readSpawn(), LLPartSysCompressedPacket::readVelocityOffset(), LLPartSysCompressedPacket::readWindDiffusionFactor(), LLDynamicQueuePtr< Type >::realloc(), LLSpatialGroup::rebound(), LLVolumeGeometryManager::rebuildGeom(), LLAgent::recoverMissingWearableDone(), LLScriptScript::recurse(), LLScriptListInitializer::recurse(), LLSDUnnamedNamespace::ImplMap::ref(), refr_ind_calc(), LLPanelDisplay::refreshEnabledState(), LLFloaterProperties::refreshFromItem(), LLPanelRegionTextureInfo::refreshFromRegion(), LLFloaterBuyLandUI::refreshUI(), LLVOVolume::regenFaces(), LLPipeline::releaseGLBuffers(), tut::HTTPNodeTestData::remainderPath(), LLSelectMgr::remove(), LLUUIDHashMap< DATA_TYPE, SIZE >::remove(), LLLocalIDHashMap< DATA_TYPE, SIZE >::remove(), remove_inventory_category_from_avatar_step2(), LLUUIDHashMap< DATA_TYPE, SIZE >::removeAll(), LLLocalIDHashMap< DATA_TYPE, SIZE >::removeAll(), LLSkipMap< INDEX_TYPE, DATA_TYPE, BINARY_DEPTH >::removeAllData(), LLPtrSkipMap< INDEX_T, DATA_T, BINARY_DEPTH >::removeAllData(), LLSkipList< DATA_TYPE, BINARY_DEPTH >::removeAllNodes(), LLPtrSkipList< DATA_TYPE, BINARY_DEPTH >::removeAllNodes(), LLTaskInvFVBridge::removeBatch(), LLInvFVBridge::removeBatch(), LLInvFVBridge::removeBatchNoCheck(), LLOctreeNode< T >::removeByAddress(), LLTextEditor::removeCharOrTab(), LLViewerObject::removeChild(), LLOctreeNode< T >::removeChild(), LLStringBase< T >::removeCRLF(), LLViewerObjectList::removeDrawable(), LLFolderBridge::removeItem(), LLFloaterCompileQueue::removeItemByAssetID(), LLLocalIDHashMap< DATA_TYPE, SIZE >::removeIter(), LLVOAvatar::removeMissingBakedTextures(), LLKeyUseTracker< TKey, TData >::removeNode(), LLSpatialGroup::removeObject(), LLViewerPartGroup::removeParticlesByID(), LLFolderView::removeSelectedItems(), LLEmbeddedItems::removeUnusedChars(), LLLocalIDHashMap< DATA_TYPE, SIZE >::removeWithShift(), LLVFS::renameFile(), LLVoiceVisualizer::render(), LLManipRotate::render(), LLHUDEffectBeam::render(), LLImagePreviewSculpted::render(), LLDrawPoolTerrain::render(), LLDrawPoolSky::render(), LLFontGL::render(), render_disconnected_background(), LLDrawPoolAlpha::renderAlpha(), LLDrawPoolAlpha::renderAlphaHighlight(), LLDrawPoolAvatar::renderAvatars(), LLTracker::renderBeacon(), LLPipeline::renderBloom(), renderBoundingBox(), LLDrawPoolBump::renderBump(), LLVOAvatar::renderCollisionVolumes(), LLManipScale::renderCorners(), LLPipeline::renderDebug(), LLManipScale::renderFaces(), LLPipeline::renderForSelect(), LLPipeline::renderGeom(), LLPipeline::renderGroups(), LLPipeline::renderHighlights(), renderLights(), LLViewerObjectList::renderObjectBeacons(), LLViewerObjectList::renderObjectsForMap(), LLViewerObjectList::renderObjectsForSelect(), renderOctree(), LLSelectNode::renderOneSilhouette(), LLToolBrushLand::renderOverlay(), renderPoints(), LLViewerParcelOverlay::renderPropertyLines(), LLFace::renderSelectedUV(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLDrawPoolTree::renderTree(), LLWind::renderVectors(), LLError::replaceChar(), LLStringBase< T >::replaceNonstandardASCII(), LLStringBase< T >::replaceTabsWithSpaces(), LLViewerRegion::requestCacheMisses(), LLStat::reset(), LLStatAccum::impl::reset(), LLFastTimer::reset(), LLDynamicQueuePtr< Type >::reset(), LLViewerJoystick::resetDeltas(), LLThrottleGroup::resetDynamicAdjust(), LLPanelAvatar::resetGroupList(), LLKeyboard::resetKeys(), LLViewerParcelMgr::resetSegments(), LLPipeline::resetVertexBuffers(), LLSurface::resolveNormalGlobal(), LLSurface::resolvePatchRegion(), LLPipeline::restoreGL(), LLVOSky::restoreGL(), LLSkyTex::restoreGL(), LLManipTranslate::restoreGL(), LLInventoryClipboard::retrieve(), LLAgent::revertAllWearables(), Responder::rewriteResult(), LLAres::UriRewriteResponder::rewriteResult(), run_calllib(), run_calllib_two_byte(), run_stacktol(), run_stacktos(), LLCrashLogger::runCrashLogPost(), LLAgentPilot::save(), LLAgent::saveAllWearables(), LLSelectNode::saveColors(), LLViewerWindow::saveImageNumbered(), LLFloaterCompileQueue::saveItemByAssetID(), LLSelectNode::saveTextureScaleRatios(), LLInventoryModel::saveToFile(), LLViewerKeyboard::scanKey(), LLVolume::sculpt(), LLVolume::sculptGenerateMapVertices(), LLVolume::sculptGeneratePlaceholder(), LLSelectNode::selectAllTEs(), LLTextEditor::selectionContainsLineBreaks(), LLTabContainer::selectTab(), LLMail::send(), send_start_session_messages(), LLCircuit::sendAcks(), LLAgent::sendAgentWearablesUpdate(), LLAgent::sendAnimationRequests(), LLHUDManager::sendEffects(), LLPanelRegionTextureInfo::sendUpdate(), LLMultiGesture::serialize(), LLKeyframeMotion::serialize(), LLGestureList::serialize(), LLScriptEventData::set(), LLUUID::set(), LLUUIDHashMap< DATA_TYPE, SIZE >::set(), LLLocalIDHashMap< DATA_TYPE, SIZE >::set(), LLPrimitive::setAllTETextures(), LLVolumeImplFlexible::setAttributesOfAllSections(), LLLocalIDHashMapIter< DATA_TYPE, SIZE >::setBin(), LLFloater::setCanResize(), LLViewerObject::setCanSelect(), setControlValueCB(), LLLineEditor::setCursorAtLocalPos(), LLAudioEngine::setDefaults(), LLViewerObject::setDrawableState(), LLViewerTextEditor::setEmbeddedText(), LLAgent::setGroupContribution(), LLPolyMorphTarget::setInfo(), LLTracker::setLandmarkVisited(), setLevels(), LLKeyframeMotion::setLoopIn(), LLKeyframeMotion::setLoopOut(), LLFloater::setMinimized(), LLThrottleGroup::setNominalBPS(), LLDrawable::setNumFaces(), LLDrawable::setNumFacesFast(), LLViewerObject::setNumTEs(), LLPrimitive::setNumTEs(), LLSurface::setOriginGlobal(), LLViewerCamera::setPerspective(), LLKeyframeMotion::setPriority(), LLViewerObject::setRegion(), LLFloater::setResizeLimits(), LLShaderMgr::setShaders(), LLHUDEffectBeam::setSourceObject(), LLVertexBuffer::setStride(), LLImageRaw::setSubImage(), LLFont::setSubImageLuminanceAlpha(), LLPrimitive::setTEArrays(), LLFrameStatView::setup(), LLPipeline::setupAvatarLights(), LLVertexBuffer::setupClientArrays(), LLStatusBar::setupDate(), LLAgent::setUserGroupFlags(), LLSpatialBridge::setVisible(), LLPrimitive::setVolume(), LLAgent::setWearableName(), LLAgent::setWearableOutfit(), LLViewerPartSim::shift(), LLViewerPartGroup::shift(), LLSpatialGroup::shift(), LLPipeline::shiftObjects(), LLViewerObjectList::shiftObjects(), LLDrawable::shiftPos(), LLWorld::shiftRegions(), LLAudioEngine::shutdown(), LLGenePool::spawn(), LLCamera::sphereInFrustum(), LLAres::SrvResponder::srvResult(), start_deprecated_conference_chat(), LLXmlTreeParser::startElement(), LLAudioEngine::startNextTransfer(), LLVoiceClient::stateMachine(), LLPipeline::stateSort(), LLInventoryClipboard::store(), LLStringBase< T >::stripNonprintable(), LLStatAccum::impl::sum(), LLXmlTreeParser::tabs(), LLViewerWindow::thumbnailSnapshot(), LLPartSysCompressedPacket::toLLPartInitData(), LLOctreeRenderNonOccluded::traverse(), LLOctreeStateCheck::traverse(), LLOctreeTraveler< T >::traverse(), LLGestureList::trigger(), LLGestureList::triggerAndReviseString(), LLStringBase< T >::trimHead(), LLStringBase< T >::trimTail(), LLTextEditor::tryToRevertToPristineState(), LLWearable::typeNameToType(), LLControlGroup::typeStringToEnum(), LLGLSLShader::unbind(), LLGLSLShader::unload(), LLParcel::unpackAccessEntries(), LLDataPackerAsciiFile::unpackBinaryData(), LLDataPackerAsciiBuffer::unpackBinaryData(), LLDataPackerAsciiFile::unpackBinaryDataFixed(), LLDataPackerAsciiBuffer::unpackBinaryDataFixed(), LLVLManager::unpackData(), LLDispatcher::unpackMessage(), LLPrimitive::unpackTEField(), LLFloaterTelehub::unpackTelehubInfo(), LLPrimitive::unpackTEMessage(), LLThrottleGroup::unpackThrottle(), LLWLParamSet::update(), LLWaterParamManager::update(), LLViewerPartSourceScript::update(), LLGestureManager::update(), LLCRC::update(), update_min_max(), LLHUDText::updateAll(), LLViewerObjectList::updateApparentAngles(), LLFloaterCompileQueue::updateAssetID(), LLFloater::updateButtons(), LLPanelGroupGeneral::updateChanged(), LLAudioEngine::updateChannels(), LLViewerRegion::updateCoarseLocations(), LLScrollListCtrl::updateColumns(), LLSurfacePatch::updateCompositionStats(), LLPipeline::updateCull(), LLSpatialBridge::updateDistance(), LLDrawable::updateDistance(), LLVOSurfacePatch::updateEastGeometry(), LLHUDManager::updateEffects(), LLViewerJointMesh::updateFaceData(), LLVOVolume::updateFaceFlags(), LLVOSky::updateFog(), LLViewerCamera::updateFrustumPlanes(), LLVOWLSky::updateGeometry(), LLVOTree::updateGeometry(), LLVOTextBubble::updateGeometry(), LLVOSky::updateGeometry(), LLVOPartGroup::updateGeometry(), LLViewerJointMesh::updateGeometry(), LLFloaterCustomize::updateInventoryUI(), LLScrollListCtrl::updateLineHeight(), LLScrollListCtrl::updateLineHeightInsert(), LLVOSurfacePatch::updateMainGeometry(), LLPanelGroupMembersSubTab::updateMembers(), LLPanelGroupGeneral::updateMembers(), LLVOAvatar::updateMeshTextures(), LLOctreeNode< T >::updateMinMax(), LLMotionController::updateMotionsByType(), LLPipeline::updateMove(), LLSurfacePatch::updateNormals(), LLSurfacePatch::updateNorthEdge(), LLVOSurfacePatch::updateNorthGeometry(), LLViewerParcelOverlay::updateOverlayTexture(), LLViewerPartGroup::updateParticles(), LLSurface::updatePatchVisibilities(), LLFloaterTools::updatePopup(), LLTextEditor::updatePreedit(), LLLineEditor::updatePreedit(), LLViewerParcelOverlay::updatePropertyLines(), LLCloudLayer::updatePuffCount(), LLCloudGroup::updatePuffCount(), LLCloudLayer::updatePuffOwnership(), LLCloudGroup::updatePuffOwnership(), LLCloudLayer::updatePuffs(), LLCloudGroup::updatePuffs(), LLViewerPartSim::updateSimulation(), LLVOSky::updateSky(), LLSpatialBridge::updateSpatialExtents(), LLViewerJoystick::updateStatus(), LLPanelGroup::updateTabVisibility(), LLVOVolume::updateTextures(), LLVOTextBubble::updateTextures(), LLVOAvatar::updateTextures(), LLSurfacePatch::updateVerticalStats(), LLViewerJointMesh::uploadJointMatrices(), utf16str_to_wstring(), utf16str_wstring_length(), utf8str_removeCRLF(), utf8str_to_wstring(), uuid2bytestream(), LLSpatialGroup::validate(), LLUUID::validate(), LLOctreeNode< T >::validate(), validate_draw_info(), LLSpatialGroup::validateDrawMap(), LLPanelRegionTextureInfo::validateTextureSizes(), LLFace::verify(), VertexCache::VertexCache(), LLOctreeDirtyTexture::visit(), LLOctreePick::visit(), LLOctreeRenderNonOccluded::visit(), LLOctreeDirty::visit(), wchars_to_utf8chars(), wear_inventory_category_on_avatar_step2(), wear_inventory_category_on_avatar_step3(), LLPartSysCompressedPacket::writeAlpha_range(), LLPartSysCompressedPacket::writeAlphaScaleDiffEqn_range(), LLPartSysCompressedPacket::writeEnvironment(), LLPartSysCompressedPacket::writeFlagByte(), LLDataPackerAsciiFile::writeIndentedName(), LLPngWrapper::writePng(), LLPartSysCompressedPacket::writeScale_range(), LLPartSysCompressedPacket::writeSpawn(), writeToRecorders(), LLPartSysCompressedPacket::writeVelocityOffset(), wstring_to_utf16str(), wstring_to_utf8str(), wstring_utf16_length(), wstring_utf8_length(), wstring_wstring_length_from_utf16_length(), LLCLPValue::xparse(), LLFastTimer::~LLFastTimer(), LLFloater::~LLFloater(), LLGenePool::~LLGenePool(), LLLocalIDHashMap< DATA_TYPE, SIZE >::~LLLocalIDHashMap(), LLOctreeNode< T >::~LLOctreeNode(), LLPanelDisplay::~LLPanelDisplay(), LLPanelGroup::~LLPanelGroup(), LLPanelGroupRoles::~LLPanelGroupRoles(), LLPolyMesh::~LLPolyMesh(), LLScriptLibrary::~LLScriptLibrary(), LLScrollableContainerView::~LLScrollableContainerView(), LLStringTable::~LLStringTable(), LLUndoBuffer::~LLUndoBuffer(), LLVLManager::~LLVLManager(), and LLVolumeLODGroup::~LLVolumeLODGroup().
Definition at line 363 of file llmath.h.
Referenced by LLMatrix3::add(), LLStringBase< T >::addCRLF(), LLParticlePartition::addGeometryCount(), LLProfile::addHole(), LLJointStateBlender::addJointState(), base32_encode(), LLPipeline::blurReflectionMap(), build_copy_matrix(), build_decopy_matrix(), build_patch_dequantize_table(), build_patch_quantize_table(), LLVOWLSky::buildStripsBuffer(), LLSurfacePatch::calcNormal(), LLGLState::checkClientArrays(), LLGLState::checkTextureChannels(), LLCullResult::clear(), code_patch(), code_patch_header(), compress_patch(), LLSkyTex::create(), LLVolumeFace::createBinormals(), LLPipeline::createGLBuffers(), LLSurface::createPatchData(), LLVolumeFace::createSide(), LLSurface::createSTexture(), LLSurface::createWaterTexture(), LLMD5::decode(), decode_patch(), LLImageTGA::decodeColorMap(), LLWind::decompress(), decompress_patch(), decompress_patchv(), LLSurface::decompressDCTPatch(), LLKeyframeMotion::deserialize(), LLCloudLayer::destroy(), LLSpatialGroup::destroyGL(), LLFrameStatView::draw(), LLFastTimerView::draw(), LLFrameStats::dump(), earlyFail(), LLMD5::encode(), LLImageTGA::encode(), tut::ensure_equals(), LLCloudLayer::findCloudGroup(), forAllDrawables(), LLVLComposition::generateHeights(), LLVolume::generateSilhouetteVertices(), LLVLComposition::generateTexture(), LLSurface::generateWaterTexture(), LLFace::genVolumeBBoxes(), LLWind::getCloudVelocity(), LLCloudLayer::getDensityRegion(), LLWind::getVelocity(), gl_rect_2d_checkerboard(), LLToolBrushLand::handleMouseDown(), init(), LLPatchVertexArray::init(), LLScriptExecute::init(), LLPerlinNoise::init(), init_supported_expressions(), LLViewerImage::initClass(), LLSkyTex::initEmpty(), LLMatrix4::invert(), LLVolume::lineSegmentIntersect(), LLCloudLayer::LLCloudLayer(), LLBVHLoader::loadBVHFile(), LLPolyMeshSharedData::loadMesh(), lsa_bubble_sort(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerWindow::mousePointOnLandGlobal(), noise2(), LLPerlinNoise::noise2(), noise3(), LLPerlinNoise::noise3(), LLBumpImageList::onSourceLoaded(), operator!=(), operator*(), operator*=(), operator+=(), operator-=(), operator==(), parse_args(), LLPipeline::postSort(), prescan_patch(), LLScriptLSOParse::printStates(), pushBufferVerts(), pushVerts(), pushVertsColorCoded(), LLMatrix4::quaternion(), LLMatrix3::quaternion(), LLSpatialGroup::rebound(), LLVolumeGeometryManager::rebuildGeom(), LLInvFVBridge::removeBatch(), LLManipScale::renderCorners(), LLPipeline::renderForSelect(), renderOctree(), LLToolBrushLand::renderOverlay(), LLViewerParcelOverlay::renderPropertyLines(), LLDrawPoolTree::renderTree(), LLWind::renderVectors(), LLStringBase< T >::replaceTabsWithSpaces(), LLGLState::resetTextureStates(), LLSurface::resolveNormalGlobal(), LLSurface::resolvePatchRegion(), LLManipTranslate::restoreGL(), LLTabContainer::selectTab(), LLSurface::setOriginGlobal(), LLFont::setSubImageLuminanceAlpha(), LLGenePool::spawn(), LLStringBase< T >::stripNonprintable(), LLPrimitive::unpackTEField(), LLSurfacePatch::updateCompositionStats(), LLDrawable::updateDistance(), LLSurfacePatch::updateEastEdge(), LLViewerJointMesh::updateFaceData(), LLVOTree::updateGeometry(), LLViewerJointMesh::updateGeometryVectorized(), LLVOSurfacePatch::updateMainGeometry(), LLSurfacePatch::updateNormals(), LLCloudLayer::updatePuffCount(), LLCloudLayer::updatePuffOwnership(), LLCloudLayer::updatePuffs(), LLSpatialBridge::updateSpatialExtents(), LLSurfacePatch::updateVerticalStats(), LLViewerJointMesh::uploadJointMatrices(), LLSpatialGroup::validate(), LLSpatialGroup::validateDrawMap(), LLOctreeDirtyTexture::visit(), and LLOctreeRenderNonOccluded::visit().
const F64 LL_DOUBLE_TO_FIX_MAGIC = 68719476736.0*1.5 |
const S32 LL_SHIFT_AMOUNT = 16 |
union { ... } LLECO [static] |
struct { ... } n |
Referenced by LLCamera::AABBInFrustum(), LLCamera::AABBInFrustumNoFarClip(), LLAppViewerLinux::beingDebugged(), LLXMLRPCTransaction::Impl::curlDownloadCallback(), curlHeaderCallback(), curlReadCallback(), curlWriteCallback(), dct_column(), dct_line(), LLImageBMP::encode(), LLStringBase< T >::format(), tut::SquareNode::get(), tut::IntegerNode::get(), LLUUID::getNodeID(), LLXMLNode::getStringValue(), LLXmlTreeNode::getTextContents(), LLXMLNode::getTextContents(), idct_column(), idct_column_large(), idct_column_large_slow(), idct_line(), idct_line_large(), idct_line_large_slow(), LLDynamicArrayIndexed< const LLMsgVarData, char *, 8 >::operator[](), planeFromPoints(), randGauss(), LLSelectMgr::sendListToRegions(), setup_patch_cosines(), setup_patch_icosines(), tut::IntegerNode::validate(), wstring_to_utf8str(), and wstring_wstring_length_from_utf16_length().
Definition at line 89 of file llmath.h.
Referenced by dct_column(), dct_column_large(), dct_line(), dct_line_large(), idct_column(), idct_column_large(), idct_column_large_slow(), idct_line(), idct_line_large(), and idct_line_large_slow().
const F32 RAD_TO_DEG = 57.295779513082320876798154814105f |
Definition at line 91 of file llmath.h.
Referenced by LLVOVolume::calcLOD(), LLVolumeImplFlexible::doIdleUpdate(), LLManipRotate::dragConstrained(), LLNetMap::draw(), LLCompass::draw(), LLWorldMapView::drawFrustum(), LLTracker::drawMarker(), LLWorldMapView::drawTrackingArrow(), elevation_from_vector(), LLPipeline::generateImpostor(), LLPreviewLandmark::getDegreesAndDist(), LLAvatarTracker::getDegreesAndDist(), LLPanelObject::getState(), LLPanelFace::getState(), LLManipTranslate::highlightIntersection(), LLPieMenu::pieItemFromXY(), LLPieMenu::pieItemIndexFromXY(), LLManipScale::render(), LLManipRotate::render(), LLManip::renderGuidelines(), LLManipTranslate::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), rotate_quat(), LLViewerCamera::setPerspective(), LLVOTree::setPixelAreaAndAngle(), LLVOPartGroup::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), LLViewerObject::setPixelAreaAndAngle(), LLDebugText::update(), LLFollowCam::updateBehindnessConstraint(), and LLVOAvatar::updateCharacter().