Changeset 10633 in orxonox.OLD for branches/vs-enhencements/src/world_entities/effects/billboard.h
- Timestamp:
- Apr 19, 2007, 9:03:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/effects/billboard.h
r10433 r10633 26 26 void colorTexture(const Color col); 27 27 28 inline void togglePluse () {this->bPulse = !bPulse; }; 29 inline void setPulse () { this->bPulse = true; }; 30 inline void setPulse ( bool state ) {this->bPulse = state; }; 31 inline float getPulse () { return this->bPulse; }; 32 28 33 virtual void tick(float dt); 29 34 virtual void draw() const; 30 35 36 inline void setUpdateFunction(float (*updateFct)(float value)) { if( updateFct) this->updatePulse = updateFct;}; 37 31 38 private: 39 40 float (*updatePulse)(float value); 41 32 42 Material* material; 33 43 Color* texColor; 34 44 float sizeX; 35 45 float sizeY; 46 47 bool bPulse; 48 float pulseMagnitude; 49 float angle; 50 float angularSpeed; 36 51 }; 37 52
Note: See TracChangeset
for help on using the changeset viewer.