Changeset 4490 in orxonox.OLD for orxonox/trunk/src/world_entities/camera.h
- Timestamp:
- Jun 3, 2005, 1:33:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/camera.h
r4414 r4490 15 15 class Event; 16 16 17 enum ViewMode{VIEW_NORMAL, VIEW_BEHIND, VIEW_FRONT, VIEW_LEFT, VIEW_RIGHT, VIEW_TOP}; 17 //! an enumerator for different types of view 18 typedef enum ViewMode{ VIEW_NORMAL, 19 VIEW_BEHIND, 20 VIEW_FRONT, 21 VIEW_LEFT, 22 VIEW_RIGHT, 23 VIEW_TOP }; 18 24 19 25 //! Camera … … 23 29 class Camera : public PNode, public EventListener 24 30 { 25 private:26 CameraTarget* target; //!< The Target of the Camera (where this Camera Looks at)27 28 float fovy; //!< The field of view Angle (in degrees).29 float aspectRatio; //!< The aspect ratio (width / height).30 float nearClip; //!< The near clipping plane.31 float farClip; //!< The far clipping plane.32 33 Vector toRelCoor;34 float toFovy;35 36 31 public: 37 32 Camera(void); … … 50 45 51 46 void process(const Event &event); 47 48 private: 49 CameraTarget* target; //!< The Target of the Camera (where this Camera Looks at) 50 51 float fovy; //!< The field of view Angle (in degrees). 52 float aspectRatio; //!< The aspect ratio (width / height). 53 float nearClip; //!< The near clipping plane. 54 float farClip; //!< The far clipping plane. 55 56 Vector toRelCoor; //!< The relativeCoordinate to move the camera to. 57 float toFovy; //!< The fovy-mode to iterate to. 52 58 }; 53 59
Note: See TracChangeset
for help on using the changeset viewer.