Changeset 6778 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 26, 2006, 5:49:58 PM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r6772 r6778 188 188 glLoadIdentity (); 189 189 190 // setting up the perspective191 190 gluPerspective(this->fovy, 192 191 this->aspectRatio, 193 192 this->nearClip, 194 193 this->farClip); 194 195 196 // setting up the perspective 195 197 // speed-up feature 196 198 Vector cameraPosition = this->getAbsCoor(); … … 205 207 up.x, up.y, up.z); 206 208 209 207 210 glMatrixMode (GL_MODELVIEW); 208 211 glLoadIdentity(); 212 213 214 209 215 } 210 216 -
trunk/src/world_entities/skysphere.cc
r6142 r6778 97 97 void Skysphere::draw() const 98 98 { 99 glMatrixMode(GL_MODELVIEW); 99 100 glPushMatrix(); 100 glMatrixMode(GL_MODELVIEW); 101 101 102 Vector r = this->getAbsCoor(); 102 103 glTranslatef(r.x, r.y, r.z); -
trunk/src/world_entities/weapons/test_gun.cc
r6671 r6778 219 219 220 220 /* draw objectComponent1: gun coil - animated stuff */ 221 glMatrixMode(GL_MODELVIEW);222 221 glPushMatrix(); 223 222 glTranslatef (this->objectComponent1->getAbsCoor ().x, -
trunk/src/world_entities/weapons/weapon_manager.cc
r6753 r6778 417 417 this->currentSlotConfig[i].position.activateNode(); 418 418 tickWeapon->setParent(&this->currentSlotConfig[i].position); 419 printf("ACTIVATE\n");420 419 } 421 420 else
Note: See TracChangeset
for help on using the changeset viewer.