Changeset 10490 in orxonox.OLD for branches/blink/src/world_entities/effects
- Timestamp:
- Jan 30, 2007, 12:52:20 AM (18 years ago)
- Location:
- branches/blink/src/world_entities/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blink/src/world_entities/effects/billboard.cc
r10433 r10490 152 152 // changes the color of the texture (if any is set) 153 153 if(this->texColor != NULL) 154 glColor4ub((GLubyte) this->texColor->r()*255, (GLubyte)this->texColor->g()*255, (GLubyte)this->texColor->b()*255, (GLubyte)(this->texColor->a()*255));154 glColor4ub((GLubyte)(this->texColor->r()*255.0f), (GLubyte)(this->texColor->g()*255.0f), (GLubyte)(this->texColor->b()*255.0f), (GLubyte)(this->texColor->a()*255)); 155 155 156 156 glBegin(GL_QUADS); -
branches/blink/src/world_entities/effects/blink.cc
r10474 r10490 38 38 // calculation of the symbolTime 39 39 this->symbolTime = this->period / this->blinkSequence.length(); 40 //PRINTF(0)("\n\n\nperiod: %f\n\n\n", this->period); 40 41 } 41 42 … … 112 113 this->bBoard->setAbsCoor(this->getAbsCoor()); 113 114 this->setCoor = false; 115 this->symbolTime = this->period / this->blinkSequence.length(); 114 116 } 115 117
Note: See TracChangeset
for help on using the changeset viewer.