llpolymesh.cpp File Reference

Implementation of LLPolyMesh class. More...

#include "llviewerprecompiledheaders.h"
#include "llpolymesh.h"
#include "llviewercontrol.h"
#include "llxmltree.h"
#include "llvoavatar.h"
#include "lldir.h"
#include "llvolume.h"
#include "llendianswizzle.h"
#include "llfasttimer.h"

Include dependency graph for llpolymesh.cpp:

Go to the source code of this file.

Defines

#define HEADER_ASCII   "Linden Mesh 1.0"
#define HEADER_BINARY   "Linden Binary Mesh 1.0"

Functions

int compare_int (const void *a, const void *b)

Variables

LLControlGroup gSavedSettings


Detailed Description

Implementation of LLPolyMesh class.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llpolymesh.cpp.


Define Documentation

#define HEADER_ASCII   "Linden Mesh 1.0"

Definition at line 48 of file llpolymesh.cpp.

#define HEADER_BINARY   "Linden Binary Mesh 1.0"

Definition at line 49 of file llpolymesh.cpp.

Referenced by LLPolyMeshSharedData::loadMesh().


Function Documentation

int compare_int ( const void a,
const void b 
)

Definition at line 533 of file llviewerjointmesh.cpp.


Variable Documentation

LLControlGroup gSavedSettings

Definition at line 55 of file llviewercontrol.cpp.

Referenced by add_duplicate(), add_object(), add_timestamped_line(), LLToolPlacerPanel::addButton(), LLFloaterChat::addChat(), LLFloaterChat::addChatHistory(), LLFirstUse::addConfigVariable(), LLFloaterChatterBox::addFloater(), LLFloaterIMPanel::addHistoryLine(), LLIMMgr::addMessage(), LLFloaterIMPanel::addTypingIndicator(), adjust_rect_bottom_center(), adjust_rect_top_left(), adjust_rect_top_right(), LLViewerObject::adjustAudioGain(), LLViewerWindow::adjustRectanglesForFirstUse(), agent_jump(), LLPrefsIMImpl::apply(), LLPrefsChat::apply(), LLPanelDebug::apply(), LLPanelDatabase::apply(), LLPanelDeviceSettings::apply(), LLFeatureManager::applyRecommendedFeatures(), LLPanelDisplay::applyResolution(), LLUndoWearable::applyUndoRedo(), audio_update_volume(), audio_update_wind(), LLPreviewSound::auditionSound(), LLAgent::calcCameraPositionTargetGlobal(), LLViewerWindow::calcDisplayScale(), LLAgent::calcFocusPositionTargetGlobal(), callback_prepare_video(), callback_start_music(), LLAgent::cameraOrbitIn(), LLManipTranslate::canAffectSelection(), LLManipRotate::canAffectSelection(), LLPrefsVoiceLogic::cancel(), LLPrefsIMImpl::cancel(), LLPrefsChatImpl::cancel(), LLPanelWeb::cancel(), LLPanelNetwork::cancel(), LLPanelMsgs::cancel(), LLPanelLCD::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLPanelDisplay3::cancel(), LLPanelDisplay2::cancel(), LLPanelDisplay::cancel(), LLPanelAudioPrefs::cancel(), LLPanelDeviceSettings::cancel(), LLSelectMgr::canSelectObject(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToFollow(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), LLViewerWindow::changeDisplaySettings(), check_offer_throttle(), check_show_xui_names(), check_toggle_control(), LLFloaterSnapshot::Impl::checkAutoSnapshot(), LLViewerWindow::checkSettings(), cleanup_app(), cleanup_saved_settings(), click_dozer_size(), click_popup_dozer_mode(), click_popup_dozer_size(), click_show_more(), commit_select_component(), commit_select_tool(), LLVoiceClient::connectorCreate(), LLViewerImageList::convertToUploadFile(), LLFloaterNotRunQueue::create(), LLFloaterRunQueue::create(), LLFloaterResetQueue::create(), LLFloaterCompileQueue::create(), LLFloaterColorPicker::createUI(), declare_settings(), LLSelectMgr::deselectAllIfTooFar(), LLSelectMgr::deselectHighlightedObjects(), LLFloaterLagMeter::determineClient(), LLFirstUse::disableFirstUse(), disconnect_viewer(), display(), LLFolderView::doIdle(), LLManipRotate::dragConstrained(), LLManipScale::dragCorner(), LLManipScale::dragFace(), LLWorldMapView::draw(), LLVoiceRemoteCtrl::draw(), LLViewerWindow::draw(), LLToolGun::draw(), LLFloaterTexturePicker::draw(), LLPrefsVoice::draw(), LLPanelDirPopular::draw(), LLPanelDirPlaces::draw(), LLPanelDirGroups::draw(), LLPanelDirFindAllOld::draw(), LLPanelAudioVolume::draw(), LLOverlayBar::draw(), LLHoverView::draw(), LLFolderView::draw(), LLPanelDeviceSettings::draw(), LLFloaterVoiceWizard::draw(), LLFloaterSnapshot::draw(), LLFloaterColorPicker::draw(), LLConsole::draw(), LLWorldMapView::drawEvents(), LLOverlayBar::enableMediaButtons(), LLOverlayBar::enableMusicButtons(), LLViewerInventoryCategory::fetchDescendents(), LLFolderView::filter(), LLEmbeddedNotecardOpener::fire(), fixup_settings(), get_text_color(), get_texture_list_name(), LLAgent::getCameraMinOffGround(), LLVOAvatar::getDefaultTEImageID(), LLViewerWindow::getDisplayAspectRatio(), LLSelectMgr::getGrid(), LLGroupNotifyBox::getGroupNotifyRect(), LLSnapshotLivePreview::getImageAspect(), LLAgent::getName(), LLNotifyBox::getNotifyRect(), LLNotifyBox::getNotifyTipRect(), LLPanelDirFindAll::getSearchURLSuffix(), LLManipScale::getShowAxes(), LLPanelObject::getState(), LLManipScale::getStretchTextures(), LLViewerWindow::getTargetWindow(), LLNotifyBox::getTemplate(), LLManipScale::getUniform(), handle_chat(), handle_go_to(), handle_reload_settings(), handle_show_overlay_title(), LLWorldMapView::handleClick(), LLToolSelectLand::handleDeselect(), LLToolBrushLand::handleDeselect(), LLToolPie::handleDoubleClick(), LLVoiceClientPrefsListener::handleEvent(), LLFileTakeSnapshotToDisk::handleEvent(), LLViewCheckBeaconEnabled::handleEvent(), LLViewToggleBeacon::handleEvent(), LLToolsEditLinkedParts::handleEvent(), LLToolsShowSelectionLightRadius::handleEvent(), LLToolsShowHiddenSelection::handleEvent(), LLToolsSelectBySurrounding::handleEvent(), LLToolsSelectOnlyMovableObjects::handleEvent(), LLToolsSelectOnlyMyObjects::handleEvent(), LLViewEnableMouselook::handleEvent(), LLToggleControl::handleEvent(), LLLandEdit::handleEvent(), LLShowFloater::handleEvent(), LLToolsEnableLink::handleEvent(), LLToolsSnapObjectXY::handleEvent(), LLViewDefaultUISize::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLNewWindow::handleEvent(), LLAudioStreamMediaListener::handleEvent(), LLToolGun::handleHover(), LLManipTranslate::handleHover(), LLSnapshotFloaterView::handleHover(), LLToolGrab::handleHoverInactive(), LLViewerWindow::handleKey(), LLSnapshotFloaterView::handleKey(), LLFloaterIMPanel::handleKeyHere(), LLSnapshotFloaterView::handleMouseDown(), LLManipTranslate::handleMouseDownOnPart(), LLToolSelect::handleMouseUp(), LLSnapshotFloaterView::handleMouseUp(), LLFloaterColorPicker::handleMouseUp(), LLToolSelect::handleObjectSelection(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLToolSelectLand::handleSelect(), LLToolComposite::handleSelect(), LLToolBrushLand::handleSelect(), LLFolderView::handleUnicodeCharHere(), LLManipTranslate::highlightIntersection(), LLSelectMgr::highlightObjectOnly(), idle_network(), idle_startup(), LLVOAvatar::idleUpdate(), LLXMLRPCTransaction::Impl::init(), LLSky::init(), LLPrefsVoiceLogic::init(), LLInventoryView::init(), LLFloaterIMPanel::init(), LLAgent::init(), init_audio(), init_cache(), LLViewerWindow::initBase(), LLVOAvatar::initClass(), LLVOSky::initCubeMap(), LLViewerWindow::initFonts(), LLSurface::initTextures(), LLFloaterCustomize::initWearablePanels(), LLViewerWindow::initWorldUI(), inventory_offer_handler(), LLIMMgr::inviteToSession(), LLOverlayBar::layoutButtons(), LLChatBar::LLChatBar(), LLCompass::LLCompass(), LLConsole::LLConsole(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLFloaterAuction::LLFloaterAuction(), LLFloaterChatterBox::LLFloaterChatterBox(), LLFloaterCustomize::LLFloaterCustomize(), LLFloaterHtml::LLFloaterHtml(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterReleaseMsg::LLFloaterReleaseMsg(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLFloaterTools::LLFloaterTools(), LLHorizontalCompass::LLHorizontalCompass(), LLHUDText::LLHUDText(), LLNetMap::LLNetMap(), LLPanelDebug::LLPanelDebug(), LLPanelDeviceSettings::LLPanelDeviceSettings(), LLPanelLogin::LLPanelLogin(), LLPreferenceCore::LLPreferenceCore(), LLSelectMgr::LLSelectMgr(), LLStatView::LLStatView(), LLToolBrushLand::LLToolBrushLand(), LLToolGun::LLToolGun(), LLViewerPartSim::LLViewerPartSim(), LLViewerWindow::LLViewerWindow(), LLVLComposition::LLVLComposition(), LLVoiceClient::LLVoiceClient(), LLVoiceVisualizer::LLVoiceVisualizer(), LLVOSky::LLVOSky(), LLViewerThrottle::load(), load_password_from_disk(), login_callback(), login_show(), main(), main_loop(), menu_check_control(), menu_toggle_control(), menu_ui_enabled(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerWindow::movieSize(), LLPanelDirFindAll::navigateToDefaultPage(), LLIMMgr::noteOfflineUsers(), LLDrawPoolBump::numBumpPasses(), LLFloaterTexturePicker::onApplyImmediateCheck(), LLScriptEdCore::onBtnDynamicHelp(), LLVoiceRemoteCtrl::onBtnLock(), LLFloaterPreference::onBtnOK(), LLPanelEditWearable::onBtnRandomize(), LLFloaterCustomize::onBtnSnapshot(), LLVoiceRemoteCtrl::onBtnTalkClicked(), LLVoiceRemoteCtrl::onBtnTalkHeld(), LLVoiceRemoteCtrl::onBtnTalkReleased(), LLScriptEdCore::onCheckLock(), LLFloaterSnapshot::Impl::onClickAutoSnap(), LLPanelNetwork::onClickClearCache(), LLPanelLogin::onClickConnect(), LLPanelMsgs::onClickEnablePopup(), LLFloaterSnapshot::Impl::onClickHUDCheck(), LLFloaterSnapshot::Impl::onClickKeep(), LLFloaterSnapshot::Impl::onClickKeepAspectCheck(), LLFloaterSnapshot::Impl::onClickKeepOpenCheck(), LLPanelContents::onClickNewScript(), LLPanelNetwork::onClickResetCache(), LLPanelDirFindAllOld::onClickSearch(), LLPanelNetwork::onClickSetCache(), LLPrefsVoiceLogic::onClickSetMiddleMouse(), LLFloaterSnapshot::Impl::onClickUICheck(), LLFloaterMove::onClose(), LLInventoryView::onClose(), LLFloaterTools::onClose(), LLFloaterMap::onClose(), LLFloaterClothing::onClose(), LLFloaterChatterBox::onClose(), LLFloaterChat::onClose(), LLFloaterCamera::onClose(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterSnapshot::Impl::onCommitFreezeFrame(), LLFloaterSnapshot::Impl::onCommitResolution(), LLPanelEditWearable::onCommitSexChange(), LLFloaterSnapshot::Impl::onCommitSnapshotType(), LLFloaterVoiceWizard::onCommitVoiceEnable(), LLPrefsVoiceLogic::onEarLocationCommit(), LLScriptEdCore::onHelpComboCommit(), LLSnapshotLivePreview::onIdle(), LLFloaterColorPicker::onImmediateCheck(), LLFloaterChatterBox::onOpen(), LLFloaterSaveAvatar::onSave(), LLPreferenceCore::onTabChanged(), LLFloaterDirectory::onTabChanged(), open_landmark(), open_notecard(), open_texture(), LLViewerTextEditor::openEmbeddedSound(), LLViewerTextEditor::openEmbeddedTexture(), LLTaskAnimationBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLTaskTextureBridge::openItem(), LLLSLTextBridge::openItem(), LLAnimationBridge::openItem(), LLTaskSoundBridge::openSoundPreview(), LLSoundBridge::openSoundPreview(), optionally_prepare_video(), optionally_start_music(), LLNotifyBox::parseNotify(), LLAnimationBridge::performAction(), LLPanelDirPlaces::performQuery(), LLPanelDirGroups::performQuery(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolCompRotate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompTranslate::pickCallback(), LLToolCompInspect::pickCallback(), LLToolPlacer::placeObject(), LLViewerWindow::playSnapshotAnimAndSound(), LLViewerRequiredVoiceVersion::post(), LLFloaterSettingsDebug::postBuild(), LLPanelNetwork::postBuild(), LLPanelMsgs::postBuild(), LLPanelGeneral::postBuild(), LLPanelFace::postBuild(), LLPanelDisplay2::postBuild(), LLPanelDisplay::postBuild(), LLPanelDirLand::postBuild(), LLPanelAudioPrefs::postBuild(), LLInventoryPanel::postBuild(), LLFloaterTools::postBuild(), LLFloaterSnapshot::postBuild(), LLFloaterSaveAvatar::postBuild(), LLFloaterNameDesc::postBuild(), LLFloaterColorPicker::postBuild(), LLPipeline::postSort(), LLDrawPoolWater::prerender(), LLDrawPoolTerrain::prerender(), process_chat_from_simulator(), process_money_balance_reply(), process_script_question(), process_sound_trigger(), process_time_synch(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLSpatialPartition::processImagery(), LLAvatarTracker::processNotify(), LLViewerParcelMgr::processParcelProperties(), LLVOAvatar::processSingleAnimationStateChange(), LLAgent::propagate(), LLTextureCache::purgeTextures(), LLViewerWindow::rawSnapshot(), raycast_for_new_obj_pos(), LLSelectMgr::redo(), LLToolBar::refresh(), LLPrefsVoiceLogic::refresh(), LLPrefsIMImpl::refresh(), LLPrefsChatImpl::refresh(), LLPanelWeb::refresh(), LLPanelPermissions::refresh(), LLPanelNetwork::refresh(), LLPanelLCD::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay3::refresh(), LLPanelDisplay2::refresh(), LLPanelDisplay::refresh(), LLPanelDatabase::refresh(), LLOverlayBar::refresh(), LLChatBar::refresh(), LLFloaterAvatarList::refreshAvatarList(), LLPanelDisplay3::refreshEnabledState(), LLFloaterProperties::refreshFromItem(), LLPanelLogin::refreshLocation(), register_viewer_callbacks(), reload_personal_settings_overrides(), LLFloaterChatterBox::removeFloater(), LLToolBrushLand::render(), LLManipScale::render(), LLHUDEffectSpiral::render(), LLDrawPoolTerrain::render(), render_ui_3d(), LLTracker::renderBeacon(), LLPipeline::renderBloom(), LLPipeline::renderGeom(), renderParticleBeacons(), renderPhysicalBeacons(), LLViewerParcelOverlay::renderPropertyLines(), renderScriptedBeacons(), renderScriptedTouchBeacons(), LLViewerWindow::renderSelections(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), LLFirstUse::resetFirstUse(), LLAgent::resetView(), LLViewerWindow::reshape(), LLLiveLSLEditor::reshape(), LLPreviewLSL::reshape(), LLPreviewNotecard::reshape(), LLVOSky::restoreGL(), LLViewerCamera::rotateToLeftEye(), LLViewerCamera::rotateToRightEye(), LLViewerThrottle::save(), save_final_snapshot(), saved_settings_to_globals(), LLViewerWindow::saveImageNumbered(), script_question_cb(), LLPanelDirFindAll::search(), LLSelectMgr::selectObjectAndFamily(), send_stats(), LLChatBar::sendChat(), LLSelectMgr::sendMultipleUpdate(), LLTextureFetch::sendRequestListToSimulators(), LLManipScale::sendUpdates(), set_language(), LLViewerObject::setAttachedSound(), LLStatusBar::setBalance(), LLSavedSettingsGlue::setBOOL(), LLSavedSettingsGlue::setF32(), LLAgent::setFlying(), LLSelectMgr::setGridMode(), LLStatusBar::setHealth(), LLScriptEdCore::setHelpPage(), LLPrefsVoiceLogic::setKey(), LLPipeline::setLightingDetail(), LLViewerThrottle::setMaxBandwidth(), LLFloaterTools::setObjectType(), LLViewerCamera::setPerspective(), LLSavedSettingsGlue::setS32(), LLShaderMgr::setShaders(), LLManipScale::setShowAxes(), LLSnapshotLivePreview::setSnapshotQuality(), LLManipScale::setStretchTextures(), LLURLSimString::setString(), LLSavedSettingsGlue::setString(), LLPanelEditWearable::setSubpart(), LLAgent::setTeleportState(), settings_setup_listeners(), LLSavedSettingsGlue::setU32(), LLManipScale::setUniform(), LLManip::setupSnapGuideRenderPass(), LLInventoryView::setVisible(), LLFloaterWorldMap::setVisible(), LLFloaterMap::setVisible(), LLFloaterDirectory::setVisible(), LLFloaterChat::setVisible(), LLChatBar::setVisible(), LLFloaterCustomize::setWearable(), LLPanelAvatarWeb::setWebURL(), LLFloaterMove::show(), LLFloaterRegionInfo::show(), LLFloaterGesture::show(), LLFloaterClothing::show(), LLFloaterJoystick::show(), LLFloaterCamera::show(), show_debug_menus(), LLInventoryView::showAgentInventory(), LLFloaterTools::showMore(), LLTextureCtrl::showPicker(), LLTaskInvFVBridge::showProperties(), LLShowProps::showProperties(), LLFloaterColorPicker::showUI(), LLAgent::startCameraAnimation(), LLChatBar::startChat(), LLAgent::startTyping(), LLVoiceClient::stateMachine(), LLAgentPilot::stopRecord(), LLToolBar::toggle(), toggle_build_mode(), toggle_debug_menus(), toggle_map(), toggle_show_xui_names(), LLFloaterDirectory::toggleFind(), LLInventoryView::toggleVisibility(), LLHUDEffectSpiral::triggerLocal(), ui_audio_callback(), LLSelectMgr::undo(), LLDebugText::update(), LLViewerObjectList::update(), LLSpeakerMgr::update(), update_app(), update_dialog_callback(), update_statistics(), LLViewerJoystick::updateCamera(), LLVOAvatar::updateCharacter(), LLWorld::updateClouds(), LLFloaterSnapshot::Impl::updateControls(), LLScriptEdCore::updateDynamicHelp(), LLViewerJointMesh::updateGeometry(), LLManip::updateGridSettings(), LLVOSky::updateHaze(), LLFloaterSnapshot::Impl::updateLayout(), LLFloaterEventLog::updateList(), LLViewerObject::updateLOD(), LLAgent::updateLookAt(), LLViewerImageList::updateMaxResidentTexMem(), LLPipeline::updateMove(), LLPipeline::updateMoveDampedAsync(), LLPipeline::updateMoveNormalAsync(), LLFloaterTools::updatePopup(), LLViewerParcelOverlay::updatePropertyLines(), LLFloaterEventLog::updateQuickButtons(), LLSelectMgr::updateSilhouettes(), LLSnapshotLivePreview::updateSnapshot(), LLHoverView::updateText(), LLManipRotate::updateVisiblity(), LLFirstUse::useAppearance(), LLFirstUse::useBalanceDecrease(), LLFirstUse::useBalanceIncrease(), LLFirstUse::useBuild(), LLFirstUse::useDebugMenus(), LLFirstUse::useFlexible(), LLFirstUse::useInventory(), LLFirstUse::useLeftClickNoHit(), LLFirstUse::useMap(), LLFirstUse::useOverrideKeys(), user_logout(), LLVoiceClient::userAuthorized(), LLFirstUse::useSandbox(), LLFirstUse::useSculptedPrim(), LLFirstUse::useSit(), LLFirstUse::useTeleport(), LLFirstUse::useVoice(), velocity_interpolate(), LLVoiceClient::voiceEnabled(), LLFloaterDirectory::~LLFloaterDirectory(), LLFloaterGesture::~LLFloaterGesture(), LLFloaterHtml::~LLFloaterHtml(), LLFloaterLagMeter::~LLFloaterLagMeter(), LLFloaterReleaseMsg::~LLFloaterReleaseMsg(), LLFloaterSnapshot::~LLFloaterSnapshot(), LLInventoryPanel::~LLInventoryPanel(), LLStatView::~LLStatView(), and LLViewerWindow::~LLViewerWindow().


Generated on Thu Jul 1 06:10:37 2010 for Second Life Viewer by  doxygen 1.4.7