Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2100 in orxonox.OLD for orxonox/branches/chris/src/camera.cc


Ignore:
Timestamp:
Jul 10, 2004, 1:15:22 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/chris: First part of the "Getittocompile"-Project

File:
1 edited

Legend:

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

    r2096 r2100  
    1616*/
    1717
    18 
    1918#include "camera.h"
     19#include "world.h"
     20#include "world_entity.h"
    2021
    2122using namespace std;
     
    9394  glLoadMatrixf (matrix);
    9495        // translation
    95   glTranslatef (actual_place.v.x, actual_place.v.y, actual_place.v.z);
     96  glTranslatef (actual_place.r.x, actual_place.r.y, actual_place.r.z);
    9697 
    9798  glMatrixMode (GL_MODELVIEW);
     
    130131        if( entity != NULL)
    131132        {
    132                 if( entity->bFree) printf("Cannot bind camera to free entity");
     133                if( entity->isFree ()) printf("Cannot bind camera to free entity");
    133134                else bound = entity;
    134135        }
Note: See TracChangeset for help on using the changeset viewer.