summaryrefslogtreecommitdiff
path: root/indra/llcharacter
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcharacter')
-rw-r--r--indra/llcharacter/lljoint.cpp33
-rw-r--r--indra/llcharacter/lljoint.h5
2 files changed, 0 insertions, 38 deletions
diff --git a/indra/llcharacter/lljoint.cpp b/indra/llcharacter/lljoint.cpp
index 3797b06aa1..acc64e6afd 100644
--- a/indra/llcharacter/lljoint.cpp
+++ b/indra/llcharacter/lljoint.cpp
@@ -465,39 +465,6 @@ void LLJoint::setSkinOffset( const LLVector3& offset )
mSkinOffset = offset;
}
-//-----------------------------------------------------------------------------
-// setConstraintSilhouette()
-//-----------------------------------------------------------------------------
-void LLJoint::setConstraintSilhouette(LLDynamicArray<LLVector3>& silhouette)
-{
- S32 i;
-
- mConstraintSilhouette.reset();
- for (i = 0; i < silhouette.count(); i++)
- {
- if (i % 2 == 1)
- {
- // skip normals
- continue;
- }
- mConstraintSilhouette[i / 2] = silhouette[i];
- }
- LLQuaternion inv_parent_rotation = LLQuaternion::DEFAULT;
-
- if (getParent())
- {
- inv_parent_rotation = ~getParent()->getWorldRotation();
- }
-
- for (i = 0; i < mConstraintSilhouette.count(); i++)
- {
- LLVector3 vert = mConstraintSilhouette[i];
-
- vert -= getWorldPosition();
- vert.normVec();
- vert = vert * inv_parent_rotation;
- }
-}
//-----------------------------------------------------------------------------
// clampRotation()
diff --git a/indra/llcharacter/lljoint.h b/indra/llcharacter/lljoint.h
index 6399d0a429..aaa30f624b 100644
--- a/indra/llcharacter/lljoint.h
+++ b/indra/llcharacter/lljoint.h
@@ -65,7 +65,6 @@ protected:
public:
U32 mDirtyFlags;
- BOOL mWorldRotationDirty;
BOOL mUpdateXform;
// describes the skin binding pose
@@ -73,8 +72,6 @@ public:
S32 mJointNum;
- LLDynamicArray<LLVector3> mConstraintSilhouette;
-
// child joints
typedef std::list<LLJoint*> child_list_t;
child_list_t mChildren;
@@ -151,8 +148,6 @@ public:
LLXformMatrix *getXform() { return &mXform; }
- void setConstraintSilhouette(LLDynamicArray<LLVector3>& silhouette);
-
void clampRotation(LLQuaternion old_rot, LLQuaternion new_rot);
virtual BOOL isAnimatable() { return TRUE; }