Changeset 4836 in orxonox.OLD for orxonox/trunk/src/world_entities/camera.cc
- Timestamp:
- Jul 12, 2005, 12:33:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/camera.cc
r4832 r4836 31 31 32 32 /** 33 \briefcreates a Camera33 * creates a Camera 34 34 */ 35 35 Camera::Camera() … … 53 53 54 54 /** 55 \briefdefault destructor55 * default destructor 56 56 */ 57 57 Camera::~Camera() … … 61 61 62 62 /** 63 \brieffocuses the Camera onto a Target64 \param target the new PNode the Camera should look at.63 * focuses the Camera onto a Target 64 * @param target the new PNode the Camera should look at. 65 65 */ 66 66 void Camera::lookAt(PNode* target) … … 70 70 71 71 /** 72 \returns The PNode of the Target (from there you can get position and so on72 * @returns The PNode of the Target (from there you can get position and so on 73 73 */ 74 74 PNode* Camera::getTarget() … … 78 78 79 79 /** 80 \briefsets a new AspectRatio81 \param aspectRatio the new aspect ratio to set (width / height)80 * sets a new AspectRatio 81 * @param aspectRatio the new aspect ratio to set (width / height) 82 82 */ 83 83 void Camera::setAspectRatio(float aspectRatio) … … 87 87 88 88 /** 89 \briefsets the Field of View to fofy90 \param fovy new field of view factor (in degrees)89 * sets the Field of View to fofy 90 * @param fovy new field of view factor (in degrees) 91 91 */ 92 92 void Camera::setFovy(float fovy) … … 97 97 /** 98 98 \brief Sets a new clipping region 99 \param nearClip The near clip plane100 \param farClip The far clip plane99 * @param nearClip The near clip plane 100 * @param farClip The far clip plane 101 101 */ 102 102 void Camera::setClipRegion(float nearClip, float farClip) … … 107 107 108 108 /** 109 \briefsets the new VideoMode and initializes iteration to it.110 \param mode the mode to change to.109 * sets the new VideoMode and initializes iteration to it. 110 * @param mode the mode to change to. 111 111 */ 112 112 void Camera::setViewMode(ViewMode mode) … … 143 143 144 144 /** 145 \briefUpdates the position of the camera.146 \param dt: The time that elapsed.145 * Updates the position of the camera. 146 * @param dt: The time that elapsed. 147 147 */ 148 148 void Camera::tick(float dt) … … 161 161 162 162 /** 163 \briefinitialize rendering perspective according to this camera163 * initialize rendering perspective according to this camera 164 164 165 165 This is called immediately before the rendering cycle starts, it sets all global … … 194 194 195 195 /** 196 \briefprocesses an event197 \param event: the event to process196 * processes an event 197 * @param event: the event to process 198 198 */ 199 199 void Camera::process(const Event &event)
Note: See TracChangeset
for help on using the changeset viewer.