Changeset 7965 in orxonox.OLD for branches/atmospheric_engine/src
- Timestamp:
- May 30, 2006, 12:52:29 AM (19 years ago)
- Location:
- branches/atmospheric_engine/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc
r7951 r7965 33 33 34 34 billboard = new Billboard(NULL); 35 billboard->setTexture("maps/lightning_bolt.png");35 //billboard->setTexture("maps/lightning_bolt.png"); 36 36 //billboard->setSize(50, 50); 37 37 //billboard->setAbsCoor2D(10,10); -
branches/atmospheric_engine/src/world_entities/effects/billboard.cc
r7951 r7965 60 60 this->setName("Billboard"); 61 61 62 this->toList(OM_COMMON); 63 62 64 this->material = new Material(); 63 this->setTexture(" pictures/error_texture.png");65 this->setTexture("maps/lightning_bolt.png"); 64 66 this->setAbsCoor(0, 0, 0); 65 67 this->setVisibiliy(true); … … 139 141 return; 140 142 143 //PRINTF(0)("draw\n"); 144 141 145 glPushMatrix(); 142 146 143 glTranslatef(this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z); 147 //glTranslatef(this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z); 148 glTranslatef(0,0,0); 144 149 this->material->select(); 145 150
Note: See TracChangeset
for help on using the changeset viewer.