diff options
Diffstat (limited to 'src/Skeleton.h')
-rw-r--r-- | src/Skeleton.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Skeleton.h b/src/Skeleton.h index 35bdb43..31ece37 100644 --- a/src/Skeleton.h +++ b/src/Skeleton.h @@ -91,20 +91,22 @@ class Animation XYZ position[max_joints][max_frames]; float speed[max_frames]; XYZ forward[max_frames]; - float rotate1[max_joints][max_frames],rotate2[max_joints][max_frames],rotate3[max_joints][max_frames]; - float mrotate1[max_joints][max_frames],mrotate2[max_joints][max_frames],mrotate3[max_joints][max_frames]; + float rotate1[max_joints][max_frames]; + float rotate2[max_joints][max_frames]; + float rotate3[max_joints][max_frames]; + float mrotate1[max_joints][max_frames]; + float mrotate2[max_joints][max_frames]; + float mrotate3[max_joints][max_frames]; void load(const char* name); }; class Skeleton { public: - int num_joints; Joint joints[max_joints]; int jointlabels[max_joints]; - - int num_muscles; Muscle muscles[max_muscles]; + int num_muscles; int selected; @@ -127,12 +129,8 @@ class Skeleton void DoConstraints(Model *collide, XYZ *move, float rotation); void DoGravity(); void DoBalance(); - void MusclesSet(); void Draw(int muscleview); - void AddJoint(float x, float y, float z, int which); - void SetJoint(float x, float y, float z, int which, int whichjoint); void DeleteJoint(int whichjoint); - void AddMuscle(int attach1,int attach2,float maxlength,float minlength,int type); void DeleteMuscle(int whichmuscle); void FindRotationJoint(int which); void FindRotationMuscle(int which); |