Changeset 7965 in orxonox.OLD for branches/atmospheric_engine/src/world_entities/effects/billboard.cc
- Timestamp:
- May 30, 2006, 12:52:29 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.