summaryrefslogtreecommitdiff
path: root/indra/newview/llvotree.h
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2009-05-22 09:58:47 +0000
committerAdam Moss <moss@lindenlab.com>2009-05-22 09:58:47 +0000
commit9dfe0ca9a0228c4fa75c8a3e51840696cc6b4960 (patch)
tree3136e0a32cdcb1d55a4c3a5a67791ca128d947a5 /indra/newview/llvotree.h
parent93cf3d89e51835dd2f61c32b16191ab724528055 (diff)
svn merge -r121194:121210
svn+ssh://svn.lindenlab.com/svn/linden/branches/viewer/viewer-1.23.onetwo-merge-1 QAR-1531 viewer 1.23rc1+1.23rc2 merge to trunk
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;