#include "linden_common.h"
#include "material_codes.h"
#include "llmemtype.h"
#include "llerror.h"
#include "message.h"
#include "llprimitive.h"
#include "llvolume.h"
#include "legacy_object_types.h"
#include "v4coloru.h"
#include "llvolumemgr.h"
#include "llstring.h"
#include "lldatapacker.h"
#include "llsdutil.h"
Go to the source code of this file.
Copyright (c) 2001-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 llprimitive.cpp.
S32 face_index_from_id | ( | LLFaceID | face_ID, | |
const std::vector< LLProfile::Face > & | faceArray | |||
) |
Definition at line 906 of file llprimitive.cpp.
Referenced by LLPrimitive::setVolume().
const F32 FLEXIBLE_OBJECT_DEFAULT_AIR_FRICTION = 2.0f |
Definition at line 94 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::LLFlexibleObjectData().
const F32 FLEXIBLE_OBJECT_DEFAULT_GRAVITY = 0.3f |
Definition at line 99 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::LLFlexibleObjectData().
const F32 FLEXIBLE_OBJECT_DEFAULT_LENGTH = 1.0f |
Definition at line 110 of file llprimitive.cpp.
const BOOL FLEXIBLE_OBJECT_DEFAULT_RENDERING_COLLISION_SPHERE = FALSE |
Definition at line 112 of file llprimitive.cpp.
const F32 FLEXIBLE_OBJECT_DEFAULT_TENSION = 1.0f |
Definition at line 89 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::LLFlexibleObjectData().
const BOOL FLEXIBLE_OBJECT_DEFAULT_USING_COLLISION_SPHERE = FALSE |
Definition at line 111 of file llprimitive.cpp.
const F32 FLEXIBLE_OBJECT_DEFAULT_WIND_SENSITIVITY = 0.0f |
Definition at line 104 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::LLFlexibleObjectData().
const F32 FLEXIBLE_OBJECT_MAX_AIR_FRICTION = 10.0f |
Definition at line 95 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::setAirFriction().
const F32 FLEXIBLE_OBJECT_MAX_GRAVITY = 10.0f |
const F32 FLEXIBLE_OBJECT_MAX_INTERNAL_TENSION_FORCE = 0.99f |
Definition at line 108 of file llprimitive.cpp.
Referenced by LLVolumeImplFlexible::doFlexibleUpdate().
const F32 FLEXIBLE_OBJECT_MAX_TENSION = 10.0f |
const F32 FLEXIBLE_OBJECT_MAX_WIND_SENSITIVITY = 10.0f |
Definition at line 105 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::setWindSensitivity().
const F32 FLEXIBLE_OBJECT_MIN_AIR_FRICTION = 0.0f |
Definition at line 93 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::setAirFriction().
const F32 FLEXIBLE_OBJECT_MIN_GRAVITY = -10.0f |
const F32 FLEXIBLE_OBJECT_MIN_TENSION = 0.0f |
const F32 FLEXIBLE_OBJECT_MIN_WIND_SENSITIVITY = 0.0f |
Definition at line 103 of file llprimitive.cpp.
Referenced by LLFlexibleObjectData::setWindSensitivity().
const F32 LIGHT_DEFAULT_CUTOFF = 0.0f |
Definition at line 84 of file llprimitive.cpp.
const F32 LIGHT_DEFAULT_FALLOFF = 1.0f |
Definition at line 81 of file llprimitive.cpp.
const F32 LIGHT_DEFAULT_RADIUS = 5.0f |
Definition at line 78 of file llprimitive.cpp.
const F32 LIGHT_MAX_CUTOFF = 180.f |
const F32 LIGHT_MAX_FALLOFF = 2.0f |
const F32 LIGHT_MAX_RADIUS = 20.0f |
Definition at line 79 of file llprimitive.cpp.
Referenced by LLPipeline::calcNearbyLights(), and LLLightParams::setRadius().
const F32 LIGHT_MIN_CUTOFF = 0.0f |
const F32 LIGHT_MIN_FALLOFF = 0.0f |
const F32 LIGHT_MIN_RADIUS = 0.0f |
const F32 LL_MAX_SCALE_S = 100.0f |
Definition at line 1231 of file llprimitive.cpp.
const F32 LL_MAX_SCALE_T = 100.0f |
Definition at line 1232 of file llprimitive.cpp.
const F32 OBJECT_CUT_INC = 0.05f |
Definition at line 53 of file llprimitive.cpp.
const F32 OBJECT_CUT_MAX = 1.f |
Definition at line 52 of file llprimitive.cpp.
const F32 OBJECT_CUT_MIN = 0.f |
exported constants
Definition at line 51 of file llprimitive.cpp.
const F32 OBJECT_MAX_HOLE_SIZE_X = 1.0f |
Definition at line 68 of file llprimitive.cpp.
Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().
const F32 OBJECT_MAX_HOLE_SIZE_Y = 0.5f |
Definition at line 69 of file llprimitive.cpp.
Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().
const F32 OBJECT_MIN_CUT_INC = 0.02f |
const F32 OBJECT_MIN_HOLE_SIZE = 0.05f |
Definition at line 67 of file llprimitive.cpp.
Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().
const F32 OBJECT_REV_INC = 0.1f |
Definition at line 74 of file llprimitive.cpp.
const F32 OBJECT_REV_MAX = 4.0f |
Definition at line 73 of file llprimitive.cpp.
const F32 OBJECT_REV_MIN = 1.0f |
Definition at line 72 of file llprimitive.cpp.
const F32 OBJECT_ROTATION_PRECISION = 0.05f |
Definition at line 55 of file llprimitive.cpp.
Referenced by LLPanelObject::getState(), and LLPanelObject::sendRotation().
const F32 OBJECT_TWIST_INC = 18.f |
const F32 OBJECT_TWIST_LINEAR_INC = 9.f |
const F32 OBJECT_TWIST_LINEAR_MAX = 180.f |
Definition at line 64 of file llprimitive.cpp.
Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().
const F32 OBJECT_TWIST_LINEAR_MIN = -180.f |
const F32 OBJECT_TWIST_MAX = 360.f |
Definition at line 58 of file llprimitive.cpp.
Referenced by LLPanelObject::getState(), and LLPanelObject::getVolumeParams().
const F32 OBJECT_TWIST_MIN = -360.f |
const char* SCULPT_DEFAULT_TEXTURE = "be293869-d0d9-0a69-5989-ad27f1946fd4" |
Definition at line 115 of file llprimitive.cpp.
Referenced by LLSculptParams::LLSculptParams(), and LLPanelObject::postBuild().