Changeset 10386 in orxonox.OLD for trunk/src/world_entities/camera.h
- Timestamp:
- Jan 26, 2007, 6:07:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.h
r10379 r10386 7 7 #define _CAMERA_H 8 8 9 #include " p_node.h"9 #include "world_entity.h" 10 10 #include "event_listener.h" 11 11 #include "plane.h" … … 20 20 * This class controls the viewpoint from which the World is rendered. 21 21 */ 22 class Camera : public PNode, public EventListener22 class Camera : public WorldEntity, public EventListener 23 23 { 24 24 friend class CameraTarget; … … 51 51 52 52 /** @param fovy new field of view factor (in degrees) */ 53 inline void setFovy(float fovy) 54 { 55 this->fovy = fovy; 53 inline void setFovy(float fovy) 54 { 55 this->fovy = fovy; 56 56 this->toFovy = fovy; 57 57 }; … … 132 132 float viewFrontDistance; 133 133 float viewNormalDistance; 134 134 135 135 }; 136 136
Note: See TracChangeset
for help on using the changeset viewer.