Changeset 9061 in orxonox.OLD for trunk/src/world_entities/projectiles
- Timestamp:
- Jul 3, 2006, 6:39:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/laser.cc
r8362 r9061 140 140 void Laser::draw () const 141 141 { 142 glMatrixMode(GL_MODELVIEW);143 glPushMatrix();144 142 glPushAttrib(GL_ENABLE_BIT); 145 143 glDisable(GL_LIGHTING); 144 145 WorldEntity::draw(); 146 /* glMatrixMode(GL_MODELVIEW); 147 glPushMatrix(); 146 148 147 149 float matrix[4][4]; … … 151 153 glScalef(2.0, 2.0, 2.0); 152 154 this->getModel()->draw(); 155 glPopMatrix();*/ 156 153 157 glPopAttrib(); 154 glPopMatrix();155 158 } 156 159
Note: See TracChangeset
for help on using the changeset viewer.