diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h b/libraries/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h new file mode 100644 index 0000000..94bd2e5 --- /dev/null +++ b/libraries/irrlicht-1.8.1/include/ISceneNodeAnimatorCameraMaya.h | |||
@@ -0,0 +1,58 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | ||
2 | // This file is part of the "Irrlicht Engine". | ||
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | ||
4 | |||
5 | #ifndef __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__ | ||
6 | #define __I_SCENE_NODE_ANIMATOR_CAMERA_MAYA_H_INCLUDED__ | ||
7 | |||
8 | #include "ISceneNodeAnimator.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | |||
13 | namespace scene | ||
14 | { | ||
15 | |||
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 | ||
18 | modelling tool. | ||
19 | The camera is moving relative to the target with the mouse, by pressing either | ||
20 | of the three buttons. | ||
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 | ||
23 | or by mouse events. | ||
24 | */ | ||
25 | class ISceneNodeAnimatorCameraMaya : public ISceneNodeAnimator | ||
26 | { | ||
27 | public: | ||
28 | |||
29 | //! Returns the speed of movement | ||
30 | virtual f32 getMoveSpeed() const = 0; | ||
31 | |||
32 | //! Sets the speed of movement | ||
33 | virtual void setMoveSpeed(f32 moveSpeed) = 0; | ||
34 | |||
35 | //! Returns the rotation speed | ||
36 | virtual f32 getRotateSpeed() const = 0; | ||
37 | |||
38 | //! Set the rotation speed | ||
39 | virtual void setRotateSpeed(f32 rotateSpeed) = 0; | ||
40 | |||
41 | //! Returns the zoom speed | ||
42 | virtual f32 getZoomSpeed() const = 0; | ||
43 | |||
44 | //! Set the zoom speed | ||
45 | virtual void setZoomSpeed(f32 zoomSpeed) = 0; | ||
46 | |||
47 | //! Returns the current distance, i.e. orbit radius | ||
48 | virtual f32 getDistance() const = 0; | ||
49 | |||
50 | //! Set the distance | ||
51 | virtual void setDistance(f32 distance) = 0; | ||
52 | }; | ||
53 | |||
54 | } // end namespace scene | ||
55 | } // end namespace irr | ||
56 | |||
57 | #endif | ||
58 | |||