animation.h

Go to the documentation of this file.
00001 // animation.h
00002 
00003 #ifndef ANIMATION_H
00004 #define ANIMATION_H
00005 
00006 #include <vector>
00007 #include <string>
00008 
00009 #include <quaternion.hpp>
00010 #include <v3.hpp>
00011 
00012 struct Joint
00013 {
00014   int        parent;
00015   cpe::v3       position;
00016   cpe::quaternion orientation;
00017 };
00018 
00019 struct Animation
00020 {
00021   std::vector<std::vector<Joint> > bones;
00022 
00023   void load (const std::string &filename);
00024 };
00025 
00026 #endif
Generated on Tue Dec 28 10:12:04 2010 by  doxygen 1.6.3