Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3175 in orxonox.OLD


Ignore:
Timestamp:
Dec 15, 2004, 1:55:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk/src: small efficienxy fixes

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/camera.cc

    r2636 r3175  
    206206  // view
    207207  // TO DO: implement options for frustum generation
    208   glFrustum(-1.0, 1.0, -1.0, 1.0, 1.5, 250.0);
     208  //glFrustum(-1.0, 1.0, -1.0, 1.0, 1.5, 250.0);
     209  gluPerspective(60, 1.2f, 0.1, 250);
     210 
    209211  //Vector up(0,0,1);
    210212  //Vector dir(1,0,0);
  • orxonox/trunk/src/world.cc

    r3005 r3175  
    417417  //List<WorldEntity> *l;
    418418  WorldEntity* entity;
    419   float seconds = deltaT;
    420  
    421   seconds /= 1000;
     419  float seconds = deltaT / 1000.0;
    422420 
    423421  entity = entities->enumerate();
Note: See TracChangeset for help on using the changeset viewer.