summaryrefslogtreecommitdiff
path: root/indra/newview/llvotree.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-06-11 11:14:45 -0700
committerBryan O'Sullivan <bos@lindenlab.com>2009-06-11 11:14:45 -0700
commit02c86086acceb83fcddad763123b532c70641688 (patch)
treea7a220131b5b491d5c0823df1c07ee86a97e2a77 /indra/newview/llvotree.h
parent5748a14f5d7e85230e74c330a7c2b058856be9cd (diff)
parent9c94b76ec10cb5a323f5f8c5c1e8340f40c3b175 (diff)
Merge with Sabin
Diffstat (limited to 'indra/newview/llvotree.h')
-rw-r--r--indra/newview/llvotree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvotree.h b/indra/newview/llvotree.h
index 473f1c340e..42a6d54f62 100644
--- a/indra/newview/llvotree.h
+++ b/indra/newview/llvotree.h
@@ -179,6 +179,11 @@ protected:
F32 mTrunkAspect; // Ratio between width/length of trunk
F32 mBranchAspect; // Ratio between width/length of branch
F32 mRandomLeafRotate; // How much to randomly rotate leaves about arbitrary axis
+
+ // cache last position+rotation so we can detect the need for a
+ // complete rebuild when not animating
+ LLVector3 mLastPosition;
+ LLQuaternion mLastRotation;
U32 mFrameCount;