Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

/home/rdbrown/doxygen/cse125g1/src/modules/actor/Skeleton.h

00001 #ifndef _SKELETON_H
00002 #define _SKELETON_H
00003 
00004 #include "Joint.h"
00005 #include "Token.h"
00006 #include "math/matrix34.h"
00007 #include "Animation.h"
00008 
00009 #define SKEL_SCALE                      0.8/15.0
00010 
00011 class Skeleton {
00012         public:
00013                 Skeleton();
00014                 ~Skeleton();
00015                 void Load(Tokenizer &tokens);
00016                 void Pose(AnimPose *pose);
00017                 void BlendPose(AnimPose *pose1, AnimPose *pose2);
00018                 void Update();
00019                 void Draw();
00020                 void SetWorld(Matrix34 &w);
00021         public:
00022                 //List joints;
00023                 BallJoint *joints;
00024                 int /*selectedJoint,*/ numJoints;
00025                 Matrix34 world;
00026                 Vector3 rootPos;
00027 };
00028 #endif          //_SKELETON_H

Generated on Thu Aug 18 16:03:09 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18