#include "llviewerprecompiledheaders.h"
#include "llmaniprotate.h"
#include "llmath.h"
#include "llgl.h"
#include "v4color.h"
#include "llprimitive.h"
#include "llview.h"
#include "llfontgl.h"
#include "llagent.h"
#include "llbox.h"
#include "llbutton.h"
#include "llviewercontrol.h"
#include "llcriticaldamp.h"
#include "llhoverview.h"
#include "llfloatertools.h"
#include "llselectmgr.h"
#include "llstatusbar.h"
#include "llui.h"
#include "llvoavatar.h"
#include "llviewborder.h"
#include "llviewercamera.h"
#include "llviewerobject.h"
#include "llviewerwindow.h"
#include "llworld.h"
#include "pipeline.h"
#include "viewer.h"
#include "lldrawable.h"
#include "llglheaders.h"
Include dependency graph for llmaniprotate.cpp:
Go to the source code of this file.
Functions | |
void | handle_reset_rotation (void *) |
Variables | |
const F32 | RADIUS_PIXELS = 100.f |
const F32 | SQ_RADIUS = RADIUS_PIXELS * RADIUS_PIXELS |
const F32 | WIDTH_PIXELS = 8 |
const S32 | CIRCLE_STEPS = 100 |
const F32 | DELTA = F_TWO_PI / CIRCLE_STEPS |
const F32 | SIN_DELTA = sin( DELTA ) |
const F32 | COS_DELTA = cos( DELTA ) |
const F32 | MAX_MANIP_SELECT_DISTANCE = 100.f |
const F32 | SNAP_ANGLE_INCREMENT = 5.625f |
const F32 | SNAP_ANGLE_DETENTE = SNAP_ANGLE_INCREMENT |
const F32 | SNAP_GUIDE_RADIUS_1 = 2.8f |
const F32 | SNAP_GUIDE_RADIUS_2 = 2.4f |
const F32 | SNAP_GUIDE_RADIUS_3 = 2.2f |
const F32 | SNAP_GUIDE_RADIUS_4 = 2.1f |
const F32 | SNAP_GUIDE_RADIUS_5 = 2.05f |
const F32 | SNAP_GUIDE_INNER_RADIUS = 2.f |
const F32 | AXIS_ONTO_CAM_TOLERANCE = cos( 80.f * DEG_TO_RAD ) |
const F32 | SELECTED_MANIPULATOR_SCALE = 1.05f |
const F32 | MANIPULATOR_SCALE_HALF_LIFE = 0.07f |
U32 | gFrameCount |
Copyright (c) 2002-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 llmaniprotate.cpp.
const F32 AXIS_ONTO_CAM_TOLERANCE = cos( 80.f * DEG_TO_RAD ) |
const S32 CIRCLE_STEPS = 100 |
Definition at line 70 of file llmaniprotate.cpp.
Referenced by LLManipRotate::render(), LLManipRotate::renderActiveRing(), and LLManipRotate::renderSnapGuides().
Definition at line 73 of file llmaniprotate.cpp.
Referenced by gl_washer_2d(), gl_washer_segment_2d(), and gl_washer_spokes_2d().
const F32 DELTA = F_TWO_PI / CIRCLE_STEPS |
Definition at line 71 of file llmaniprotate.cpp.
Referenced by gl_washer_2d(), gl_washer_segment_2d(), and gl_washer_spokes_2d().
Definition at line 460 of file viewer.cpp.
const F32 MANIPULATOR_SCALE_HALF_LIFE = 0.07f |
Definition at line 85 of file llmaniprotate.cpp.
Referenced by LLManipScale::highlightManipulators(), LLManipRotate::render(), and LLManipTranslate::renderTranslationHandles().
const F32 MAX_MANIP_SELECT_DISTANCE = 100.f |
Definition at line 74 of file llmaniprotate.cpp.
Referenced by LLManipRotate::highlightManipulators().
const F32 RADIUS_PIXELS = 100.f |
Definition at line 67 of file llmaniprotate.cpp.
Referenced by LLManipRotate::dragUnconstrained(), LLManipRotate::highlightManipulators(), LLManipRotate::render(), and LLManipRotate::updateVisiblity().
const F32 SELECTED_MANIPULATOR_SCALE = 1.05f |
Definition at line 84 of file llmaniprotate.cpp.
Referenced by LLManipScale::highlightManipulators(), and LLManipRotate::render().
Definition at line 72 of file llmaniprotate.cpp.
Referenced by gl_washer_2d(), gl_washer_segment_2d(), and gl_washer_spokes_2d().
const F32 SNAP_ANGLE_INCREMENT = 5.625f |
const F32 SNAP_GUIDE_INNER_RADIUS = 2.f |
Definition at line 82 of file llmaniprotate.cpp.
Referenced by LLManipRotate::dragConstrained(), LLManipRotate::handleMouseDownOnPart(), and LLManipRotate::renderSnapGuides().
const F32 SNAP_GUIDE_RADIUS_1 = 2.8f |
const F32 SNAP_GUIDE_RADIUS_2 = 2.4f |
const F32 SNAP_GUIDE_RADIUS_3 = 2.2f |
const F32 SNAP_GUIDE_RADIUS_4 = 2.1f |
const F32 SNAP_GUIDE_RADIUS_5 = 2.05f |
const F32 SQ_RADIUS = RADIUS_PIXELS * RADIUS_PIXELS |
const F32 WIDTH_PIXELS = 8 |
Definition at line 69 of file llmaniprotate.cpp.
Referenced by LLManipRotate::highlightManipulators(), and LLManipRotate::render().