summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorKarl Steifvater <qarl@lindenlab.com>2008-07-23 21:20:19 +0000
committerKarl Steifvater <qarl@lindenlab.com>2008-07-23 21:20:19 +0000
commit52562e2e664c70dcd476291820ac02b893e489b8 (patch)
tree5137f49f194a6a28f290385c38f689d77656b2e0 /indra/newview/llagent.h
parentbc39ad916e8f23ffae12184eee675aa7c1be2ca9 (diff)
svn merge -r92720:92721 svn+ssh://svn.lindenlab.com/svn/linden/branches/uv-picking-merge
QAR-698 / DEV-9985 add touch "position" information to touch-events in LSL
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 45006fef8d..ea9138fdd1 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -95,6 +95,7 @@ class LLMessageSystem;
class LLPermissions;
class LLHost;
class LLFriendObserver;
+class LLPickInfo;
struct LLGroupData
{
@@ -191,6 +192,7 @@ public:
void changeCameraToFollow(BOOL animate = TRUE);
//end Ventrella
+ void setFocusGlobal(const LLPickInfo& pick);
void setFocusGlobal(const LLVector3d &focus, const LLUUID &object_id = LLUUID::null);
void setFocusOnAvatar(BOOL focus, BOOL animate);
void setCameraPosAndFocusGlobal(const LLVector3d& pos, const LLVector3d& focus, const LLUUID &object_id);
@@ -374,7 +376,7 @@ public:
void sendAnimationRequests(LLDynamicArray<LLUUID> &anim_ids, EAnimRequest request);
void sendAnimationRequest(const LLUUID &anim_id, EAnimRequest request);
- LLVector3d calcFocusOffset(LLViewerObject *object, S32 x, S32 y);
+ LLVector3 calcFocusOffset(LLViewerObject *object, S32 x, S32 y);
BOOL calcCameraMinDistance(F32 &obj_min_distance);
void startCameraAnimation();
@@ -711,6 +713,9 @@ public:
LLDynamicArray<LLGroupData> mGroups;
+ F32 mHUDTargetZoom; // target zoom level for HUD objects (used when editing)
+ F32 mHUDCurZoom; // current animated zoom level for HUD objects
+
BOOL mInitialized;
static BOOL sDebugDisplayTarget;
@@ -786,6 +791,7 @@ private:
LLVector3 mSitCameraFocus; // root relative camera target when sitting
LLVector3d mCameraSmoothingLastPositionGlobal;
LLVector3d mCameraSmoothingLastPositionAgent;
+
//Ventrella
LLVector3 mCameraUpVector; // camera's up direction in world coordinates (determines the 'roll' of the view)