Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3236 in orxonox.OLD for orxonox/trunk/src/camera.cc


Ignore:
Timestamp:
Dec 20, 2004, 1:39:51 AM (19 years ago)
Author:
patrick
Message:

/orxonox/trunk: unstable - problems getting collision to compile

File:
1 edited

Legend:

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

    r3228 r3236  
    4242  this->t = 0.0;
    4343
    44   this->actual_place.r.x = 0.0;
    45   this->actual_place.r.y = 10.0;
    46   this->actual_place.r.z = -5.0;
     44  this->actualPlace.r.x = 0.0;
     45  this->actualPlace.r.y = 10.0;
     46  this->actualPlace.r.z = -5.0;
    4747}
    4848
     
    6666    {this->t += deltaT;}
    6767  //printf("time is: t=%f\n", t );
    68   update_desired_place();
     68  updateDesiredPlace();
    6969  jump(NULL);
    7070}
     
    8989        if( bound != NULL)
    9090          {
    91             bound->get_lookat (&lookat);
     91            bound->getLookat (&lookat);
    9292            orx->getWorld()->calcCameraPos (&lookat, &plFocus);
    9393            Quaternion *fr;
     
    169169        if(bound != null)
    170170          {
    171             Placement *plBound = bound->get_placement();
     171            Placement *plBound = bound->getPlacement();
    172172            Vector vDirection(0.0, 0.0, 1.0);
    173173            Vector eclipticOffset(0.0, 0.0, 5.0);
     
    237237  // rotation
    238238  float matrix[4][4];
    239   actual_place.w.conjugate().matrix (matrix);
     239  actualPlace.w.conjugate().matrix (matrix);
    240240  /* orientation and */
    241241  glMultMatrixf ((float*)matrix);
    242242  /*  translation */
    243   glTranslatef (-actual_place.r.x, -actual_place.r.y,- actual_place.r.z);
     243  glTranslatef (-actualPlace.r.x, -actualPlace.r.y,- actualPlace.r.z);
    244244//Placement *plBound = bound->get_placement();
    245245
Note: See TracChangeset for help on using the changeset viewer.