diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h b/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h index 94bd2e5..ebee950 100644 --- a/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h +++ b/libraries/irrlicht-1.8/include/ISceneNodeAnimatorCameraMaya.h | |||
@@ -1,58 +1,58 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__ | 5 | #ifndef __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__ |
6 | #define __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__ | 6 | #define __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__ |
7 | 7 | ||
8 | #include "ISceneNodeAnimator.h" | 8 | #include "ISceneNodeAnimator.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | 12 | ||
13 | namespace scene | 13 | namespace scene |
14 | { | 14 | { |
15 | 15 | ||
16 | //! Special scene node animator for Maya-style cameras | 16 | //! Special scene node animator for Maya-style cameras |
17 | /** This scene node animator can be attached to a camera to make it act like a 3d | 17 | /** This scene node animator can be attached to a camera to make it act like a 3d |
18 | modelling tool. | 18 | modelling tool. |
19 | The camera is moving relative to the target with the mouse, by pressing either | 19 | The camera is moving relative to the target with the mouse, by pressing either |
20 | of the three buttons. | 20 | of the three buttons. |
21 | In order to move the camera, set a new target for the camera. The distance defines | 21 | In order to move the camera, set a new target for the camera. The distance defines |
22 | the current orbit radius the camera moves on. Distance can be changed via the setter | 22 | the current orbit radius the camera moves on. Distance can be changed via the setter |
23 | or by mouse events. | 23 | or by mouse events. |
24 | */ | 24 | */ |
25 | class ISceneNodeAnimatorCameraMaya : public ISceneNodeAnimator | 25 | class ISceneNodeAnimatorCameraMaya : public ISceneNodeAnimator |
26 | { | 26 | { |
27 | public: | 27 | public: |
28 | 28 | ||
29 | //! Returns the speed of movement | 29 | //! Returns the speed of movement |
30 | virtual f32 getMoveSpeed() const = 0; | 30 | virtual f32 getMoveSpeed() const = 0; |
31 | 31 | ||
32 | //! Sets the speed of movement | 32 | //! Sets the speed of movement |
33 | virtual void setMoveSpeed(f32 moveSpeed) = 0; | 33 | virtual void setMoveSpeed(f32 moveSpeed) = 0; |
34 | 34 | ||
35 | //! Returns the rotation speed | 35 | //! Returns the rotation speed |
36 | virtual f32 getRotateSpeed() const = 0; | 36 | virtual f32 getRotateSpeed() const = 0; |
37 | 37 | ||
38 | //! Set the rotation speed | 38 | //! Set the rotation speed |
39 | virtual void setRotateSpeed(f32 rotateSpeed) = 0; | 39 | virtual void setRotateSpeed(f32 rotateSpeed) = 0; |
40 | 40 | ||
41 | //! Returns the zoom speed | 41 | //! Returns the zoom speed |
42 | virtual f32 getZoomSpeed() const = 0; | 42 | virtual f32 getZoomSpeed() const = 0; |
43 | 43 | ||
44 | //! Set the zoom speed | 44 | //! Set the zoom speed |
45 | virtual void setZoomSpeed(f32 zoomSpeed) = 0; | 45 | virtual void setZoomSpeed(f32 zoomSpeed) = 0; |
46 | 46 | ||
47 | //! Returns the current distance, i.e. orbit radius | 47 | //! Returns the current distance, i.e. orbit radius |
48 | virtual f32 getDistance() const = 0; | 48 | virtual f32 getDistance() const = 0; |
49 | 49 | ||
50 | //! Set the distance | 50 | //! Set the distance |
51 | virtual void setDistance(f32 distance) = 0; | 51 | virtual void setDistance(f32 distance) = 0; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | } // end namespace scene | 54 | } // end namespace scene |
55 | } // end namespace irr | 55 | } // end namespace irr |
56 | 56 | ||
57 | #endif | 57 | #endif |
58 | 58 | ||