Changeset 2096 in orxonox.OLD for orxonox/branches/chris/src/camera.h
- Timestamp:
- Jul 9, 2004, 11:14:42 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/camera.h
r2068 r2096 1 /*! 2 \file camera.h 3 \brief Viewpoint controlling class definitions 4 */ 1 5 2 6 #ifndef CAMERA_H 3 7 #define CAMERA_H 4 8 9 //! Camera 10 /** 11 This class controls the viewpoint from which the World is rendered. To use the Camera it has 12 to be bound to a WorldEntity which serves as the reference focus point. The Camera itself calls 13 the WorldEntity::get_lookat() and World::calc_camera_pos() functions to calculate the position it 14 currently should be in. 15 */ 5 16 class Camera { 6 17 private: 7 WorldEntity* bound; 8 Placement actual_place; 9 Placement desired_place; 18 WorldEntity* bound; //!< the WorldEntity the Camera is bound to 19 Placement actual_place; //!< the Camera's current position 20 Placement desired_place; //!< where the Camera should be according to calculations 10 21 11 22 void update_desired_place ();
Note: See TracChangeset
for help on using the changeset viewer.