#include "llerror.h"
#include "v3math.h"
Go to the source code of this file.
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 v3dmath.h.
typedef LLVector3d LLGlobalVec |
F64 angle_between | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
Definition at line 415 of file v3dmath.h.
References F_PI, and LLVector3d::normVec().
BOOL are_parallel | ( | const LLVector3d & | a, | |
const LLVector3d & | b, | |||
const F64 | epsilon | |||
) | [inline] |
F64 dist_vec | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
F64 dist_vec_squared | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
F64 dist_vec_squared2D | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
LLVector3d lerp | ( | const LLVector3d & | a, | |
const LLVector3d & | b, | |||
const F64 | u | |||
) | [inline] |
Definition at line 396 of file v3dmath.h.
References LLVector3d::LLVector3d(), LLVector3d::mdV, VX, VY, and VZ.
bool operator!= | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
LLVector3d operator% | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
Definition at line 293 of file v3dmath.h.
References LLVector3d::LLVector3d(), and LLVector3d::mdV.
const LLVector3d& operator%= | ( | LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
LLVector3d operator* | ( | F64 | k, | |
const LLVector3d & | a | |||
) | [inline] |
Definition at line 309 of file v3dmath.h.
References LLVector3d::LLVector3d(), and LLVector3d::mdV.
LLVector3d operator* | ( | const LLVector3d & | a, | |
const F64 | k | |||
) | [inline] |
Definition at line 304 of file v3dmath.h.
References LLVector3d::LLVector3d(), and LLVector3d::mdV.
F64 operator* | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
const LLVector3d& operator*= | ( | LLVector3d & | a, | |
const F64 | k | |||
) | [inline] |
LLVector3d operator+ | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
const LLVector3d& operator+= | ( | LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
LLVector3d operator- | ( | const LLVector3d & | a | ) | [inline] |
Definition at line 368 of file v3dmath.h.
References LLVector3d::LLVector3d(), and LLVector3d::mdV.
LLVector3d operator- | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
const LLVector3d& operator-= | ( | LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
LLVector3d operator/ | ( | const LLVector3d & | a, | |
const F64 | k | |||
) | [inline] |
Definition at line 298 of file v3dmath.h.
References LLVector3d::LLVector3d(), and LLVector3d::mdV.
const LLVector3d& operator/= | ( | LLVector3d & | a, | |
const F64 | k | |||
) | [inline] |
bool operator== | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
LLVector3d projected_vec | ( | const LLVector3d & | a, | |
const LLVector3d & | b | |||
) | [inline] |
Definition at line 443 of file v3dmath.h.
References LLVector3d::normVec().
Referenced by LLAgent::calcCameraPositionTargetGlobal(), LLManipRotate::dragConstrained(), LLManipScale::dragCorner(), LLManipScale::dragFace(), LLManipTranslate::handleHover(), LLManipRotate::handleMouseDownOnPart(), LLVOAvatar::idleUpdate(), LLManipRotate::renderSnapGuides(), LLAgent::resetView(), LLVOAvatar::updateCharacter(), LLVOAvatar::updateShadowFaces(), LLManipScale::updateSnapGuides(), and LLHUDText::updateVisibility().