summaryrefslogtreecommitdiff
path: root/indra/llappearance/lljointdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llappearance/lljointdata.h')
-rw-r--r--indra/llappearance/lljointdata.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/indra/llappearance/lljointdata.h b/indra/llappearance/lljointdata.h
index 549f4af041..0b5eff2ae7 100644
--- a/indra/llappearance/lljointdata.h
+++ b/indra/llappearance/lljointdata.h
@@ -36,9 +36,30 @@ public:
std::string mName;
glm::mat4 mJointMatrix;
glm::mat4 mRestMatrix;
+ glm::vec3 mScale;
+ LLVector3 mRotation;
typedef std::vector<LLJointData> bones_t;
bones_t mChildren;
+
+ bool mIsJoint; // if not, collision_volume
+ enum SupportCategory
+ {
+ SUPPORT_BASE,
+ SUPPORT_EXTENDED
+ };
+ SupportCategory mSupport;
+ void setSupport(const std::string& support)
+ {
+ if (support == "extended")
+ {
+ mSupport = SUPPORT_EXTENDED;
+ }
+ else
+ {
+ mSupport = SUPPORT_BASE;
+ }
+ }
};
#endif //LL_LLJOINTDATA_H