Changeset 10491 in orxonox.OLD for trunk/src/world_entities/effects/billboard.cc
- Timestamp:
- Jan 30, 2007, 1:13:28 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/effects/billboard.cc
r10473 r10491 154 154 // changes the color of the texture (if any is set) 155 155 if(this->texColor != NULL) 156 glColor4ub((GLubyte) this->texColor->r()*255, (GLubyte)this->texColor->g()*255, (GLubyte)this->texColor->b()*255, (GLubyte)(this->texColor->a()*255));156 glColor4ub((GLubyte)(this->texColor->r()*255.0f), (GLubyte)(this->texColor->g()*255.0f), (GLubyte)(this->texColor->b()*255.0f), (GLubyte)(this->texColor->a()*255)); 157 157 158 158 glBegin(GL_QUADS);
Note: See TracChangeset
for help on using the changeset viewer.