Changeset 8050 in orxonox.OLD for branches/atmospheric_engine/src/world_entities/effects
- Timestamp:
- May 31, 2006, 11:45:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/world_entities/effects/billboard.cc
r8026 r8050 64 64 this->material = new Material(); 65 65 this->setAbsCoor(0, 0, 0); 66 this->setVisibiliy(true);66 //this->setVisibiliy(true); 67 67 this->setSize(5, 5); 68 68 } … … 140 140 v.normalize(); 141 141 142 float radius = 5; 143 v *= .5 * sizeX; 144 h *= .5 * sizeY; 145 142 v *= sizeX; 143 h *= sizeY; 144 145 //v += this->getAbsCoor(); 146 //PRINTF(0)("sizeX: %f sizeY: %f\n", sizeX, sizeY); 146 147 glBegin(GL_QUADS); 147 148 glTexCoord2f(0.0f, 0.0f);
Note: See TracChangeset
for help on using the changeset viewer.