Changeset 8439 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer/md2
- Timestamp:
- Jun 15, 2006, 1:50:54 AM (19 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer/md2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md2/md2Model.cc
r8346 r8439 90 90 this->animationState.type = STAND; 91 91 this->animationState.numPlays = 1; 92 this->setAnim (STAND);92 this->setAnimation(STAND); 93 93 94 94 this->debug(); … … 164 164 the animation types can be looked up in the animationType table 165 165 */ 166 void MD2Model::setAnim (int type, int animPlayback)166 void MD2Model::setAnimation(int type, int animPlayback) 167 167 { 168 168 if( (type < 0) || (type > MAX_ANIMATIONS) ) -
branches/bsp_model/src/lib/graphics/importer/md2/md2Model.h
r8346 r8439 21 21 #include "base_object.h" 22 22 23 #include " model.h"23 #include "interactive_model.h" 24 24 #include "material.h" 25 25 … … 147 147 148 148 //! This is a MD2 Model class 149 class MD2Model : public Model {149 class MD2Model : public InteractiveModel { 150 150 151 151 public: … … 157 157 158 158 159 v oid setAnim(int type, int animPlayback = MD2_ANIM_LOOP);159 virtual void setAnimation(int type, int animPlayback = MD2_ANIM_LOOP); 160 160 /** returns the current animation @returns animation type */ 161 161 inline int MD2Model::getAnim() { return this->animationState.type; }
Note: See TracChangeset
for help on using the changeset viewer.