Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3605 in orxonox.OLD for orxonox/branches/levelloader/src/camera.cc


Ignore:
Timestamp:
Mar 18, 2005, 11:52:15 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged trunk back to levelloader
merged with command:
svn merge -r 3499:HEAD trunk branches/levelloader

Conflicts in
C track_manager.h
C world_entities/player.cc
C world_entities/player.h
C world_entities/environment.h
C lib/coord/p_node.cc
C defs/debug.h
C track_manager.cc
C story_entities/campaign.h

solved in merge-favouring. It was quite easy because Chris only worked on the headers, and he didi it quite clean. Thats the spirit :)

Conflits in world.cc are a MESS: fix it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/src/camera.cc

    r3365 r3605  
    5151Camera::~Camera ()
    5252{
     53  this->bound = NULL;
     54  this->world = NULL;
     55
    5356}
    5457
     
    6063   as smooth camera movement or swaying).
    6164*/
    62 void Camera::timeSlice (Uint32 deltaT)
     65void Camera::tick (Uint32 deltaT)
    6366{
    6467  if( this->t <= deltaTime)
     
    198201  // TO DO: implement options for frustum generation
    199202  //glFrustum(-1.0, 1.0, -1.0, 1.0, 1.5, 250.0);
    200   gluPerspective(60, 1.2f, 0.1, 250);
     203  gluPerspective(60, 1.2f, 0.1, 2000);
    201204 
    202205  //Vector up(0,0,1);
     
    276279
    277280
    278 /**
    279    \brief destroy, reset the camera so that it doesn't perform anything anymore
    280 
    281 */
    282 void Camera::destroy()
    283 {
    284   this->bound = NULL;
    285   this->world = NULL;
    286 }
Note: See TracChangeset for help on using the changeset viewer.