Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2006, 1:00:17 AM (18 years ago)
Author:
bensch
Message:

some constnes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/md2/md2Model.h

    r9824 r9826  
    171171  virtual void setAnimation(int firstFrame, int lastFrame, int fps, int bStoppable, int animPlayback);
    172172  /**  returns the current animation @returns animation type */
    173   inline int getAnimation() { return this->animationState.type; }
     173  inline int getAnimation() const { return this->animationState.type; }
    174174  virtual void setAnimationSpeed(float speed) { this->animationSpeed = speed; }
    175 virtual bool isAnimationFinished() { return (this->animationState.currentFrame == this->animationState.endFrame )?true:false; }
     175virtual bool isAnimationFinished() const { return (this->animationState.currentFrame == this->animationState.endFrame )?true:false; }
    176176  /**  scales the current model @param scaleFactor: the factor [0..1] to use for scaling */
    177177  void scaleModel(float scaleFactor) { this->scaleFactor = scaleFactor;}
Note: See TracChangeset for help on using the changeset viewer.