#define _JOINT_H_
#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
{
bool visible;
Joint* parent;
bool sametwist;
- int label;
+ bodypart label;
int hasgun;
float delay;
XYZ velchange;
Joint();
+ void load(FILE* tfile, std::vector<Joint>& joints);
};
#endif