Changeset 6780 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 26, 2006, 6:47:32 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r6778 r6780 202 202 if( currentMode != VIEW_FRONT) delay = (this->target->getVelocity()) / 25.0f; 203 203 204 // Setting the Camera Eye, lookAt and up Vectors 204 205 glMatrixMode (GL_MODELVIEW); 206 glLoadIdentity(); 207 208 // Setting the Camera Eye, lookAt and up Vectors 205 209 gluLookAt(cameraPosition.x - delay.x, cameraPosition.y - delay.y, cameraPosition.z - delay.z, 206 210 targetPosition.x, targetPosition.y, targetPosition.z, 207 211 up.x, up.y, up.z); 208 209 210 glMatrixMode (GL_MODELVIEW);211 glLoadIdentity();212 213 214 215 212 } 216 213 -
trunk/src/world_entities/environments/water.cc
r6771 r6780 200 200 201 201 SkyBox::disableCubeMap(); 202 glPopMatrix(); 202 203 } 203 204 } -
trunk/src/world_entities/planet.cc
r6696 r6780 130 130 this->getModel(0)->draw(); 131 131 // static_cast<VertexArrayModel*>(this->getModel(0))->debug(); 132 133 glPopMatrix(); 132 134 } 133 135 -
trunk/src/world_entities/power_ups/laser_power_up.cc
r6512 r6780 103 103 */ 104 104 void LaserPowerUp::draw() const 105 { glMatrixMode(GL_MODELVIEW); 105 { 106 glMatrixMode(GL_MODELVIEW); 106 107 glPushMatrix(); 107 108 /* translate */ -
trunk/src/world_entities/power_ups/turret_power_up.cc
r6695 r6780 104 104 */ 105 105 void TurretPowerUp::draw() const 106 { glMatrixMode(GL_MODELVIEW); 106 { 107 glMatrixMode(GL_MODELVIEW); 107 108 glPushMatrix(); 108 109 /* translate */ -
trunk/src/world_entities/terrain.cc
r6695 r6780 130 130 void Terrain::draw () const 131 131 { 132 glMatrixMode(GL_MODELVIEW);133 132 glPushMatrix(); 134 133
Note: See TracChangeset
for help on using the changeset viewer.