Changeset 2100 in orxonox.OLD for orxonox/branches/chris/src/camera.cc
- Timestamp:
- Jul 10, 2004, 1:15:22 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/camera.cc
r2096 r2100 16 16 */ 17 17 18 19 18 #include "camera.h" 19 #include "world.h" 20 #include "world_entity.h" 20 21 21 22 using namespace std; … … 93 94 glLoadMatrixf (matrix); 94 95 // 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); 96 97 97 98 glMatrixMode (GL_MODELVIEW); … … 130 131 if( entity != NULL) 131 132 { 132 if( entity-> bFree) printf("Cannot bind camera to free entity");133 if( entity->isFree ()) printf("Cannot bind camera to free entity"); 133 134 else bound = entity; 134 135 }
Note: See TracChangeset
for help on using the changeset viewer.