]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation/Joint.h
Removed empty destructors. Joint::label is a bodypart
[lugaru.git] / Source / Animation / Joint.h
index 764b095de9ff44d69c7ef48f89f2b45be573c89d..c4c8e3b4318809c79fc3b05110dcbf2e59107ca5 100644 (file)
@@ -24,6 +24,15 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #include "Quaternions.h"
 #include <vector>
 
+enum bodypart {
+    head, neck,
+    leftshoulder,  leftelbow,  leftwrist,  lefthand,
+    rightshoulder, rightelbow, rightwrist, righthand,
+    abdomen, lefthip, righthip, groin,
+    leftknee,  leftankle,  leftfoot,
+    rightknee, rightankle, rightfoot
+};
+
 class Joint
 {
 public:
@@ -43,7 +52,7 @@ public:
     bool visible;
     Joint* parent;
     bool sametwist;
-    int label;
+    bodypart label;
     int hasgun;
     float delay;
     XYZ velchange;