Changeset 3636 in orxonox.OLD for orxonox/trunk/src/camera.h
- Timestamp:
- Mar 23, 2005, 12:46:37 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/camera.h
r3635 r3636 20 20 { 21 21 private: 22 CameraTarget* target; 22 CameraTarget* target; //!< The Target of the Camera (where this Camera Looks at) 23 24 float fovy; //!< The field of view Angle (in degrees). 25 float aspectRatio; //!< The aspect ratio (width / height). 26 float nearClip; //!< The near clipping plane. 27 float farClip; //!< The far clipping plane. 23 28 24 29 public: … … 27 32 28 33 void lookAt(PNode* target); 29 30 34 PNode* getTarget(); 31 void apply (); 35 36 void setAspectRatio(float aspectRatio); 37 void setFovy(float fovy); 38 void setClipRegion(float nearClip, float farClip); 39 40 void apply (void); 32 41 }; 33 42 … … 35 44 class CameraTarget : public PNode 36 45 { 37 friend class Camera; //!46 friend class Camera; //! The CameraTarget is a friend of Camera. noone else needs a CameraTarget, so noone else can create it. 38 47 39 48 private:
Note: See TracChangeset
for help on using the changeset viewer.