Changeset 8685 in orxonox.OLD for branches/bsp_model/src/lib/graphics
- Timestamp:
- Jun 21, 2006, 8:52:20 PM (19 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/interactive_model.h
r8490 r8685 37 37 38 38 virtual void setAnimation(int animNum, int playbackMode = 0) = 0; 39 virtual int getAnimation() = 0; 39 40 }; 40 41 -
branches/bsp_model/src/lib/graphics/importer/md2/md2Model.h
r8490 r8685 159 159 virtual void setAnimation(int type, int animPlayback = MD2_ANIM_LOOP); 160 160 /** returns the current animation @returns animation type */ 161 inline int MD2Model::getAnim () { return this->animationState.type; }161 inline int MD2Model::getAnimation() { return this->animationState.type; } 162 162 /** scales the current model @param scaleFactor: the factor [0..1] to use for scaling */ 163 163 void scaleModel(float scaleFactor) { this->scaleFactor = scaleFactor;} -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.h
r8656 r8685 45 45 46 46 virtual void setAnimation(int animNum, int playbackMode = 0) {} 47 virtual int getAnimation() { return 0;} 47 48 48 49 virtual void tick(float dt);
Note: See TracChangeset
for help on using the changeset viewer.