Changeset 10425 in orxonox.OLD for branches/blink/src/world_entities/effects/blink.h
- Timestamp:
- Jan 28, 2007, 1:08:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blink/src/world_entities/effects/blink.h
r10407 r10425 8 8 #include "world_entity.h" 9 9 #include "effects/billboard.h" 10 #include "color.h" 10 11 11 12 class Material; … … 26 27 void setSize(float s) { this->size = s; this->bBoard->setSize(this->size, this->size); } 27 28 void setOmega(float w) { this->omega = w; } 28 void setColor(float r, float g, float b) { this->color = Vector(r, g, b); }29 void setColor(float r, float g, float b) { this->color = Color(r/255, g/255, b/255); } 29 30 //void setTexture(const std::string& textureFile); 30 31 … … 33 34 34 35 private: 35 Material* material;36 //Material* material; 36 37 Billboard* bBoard; 37 38 Vector position; 38 Vectorcolor;39 Color color; 39 40 float angle; 40 41 float omega;
Note: See TracChangeset
for help on using the changeset viewer.