#ifndef hifi_JointData_h #define hifi_JointData_h #include #include class EntityJointData { public: glm::quat rotation; glm::vec3 translation; bool rotationSet = false; bool translationSet = false; }; // Used by the avatar mixer to describe a single joint // Translations relative to their parent and are in meters. // Rotations are absolute (i.e. not relative to parent) and are in rig space. class JointData { public: glm::quat rotation; glm::vec3 translation; // This indicates that the rotation or translation is the same as the defaultPose for the avatar. // if true, it also means that the rotation or translation value in this structure is not valid and // should be replaced by the avatar's actual default pose value. bool rotationIsDefaultPose = true; bool translationIsDefaultPose = true; }; #endif