aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h98
1 files changed, 49 insertions, 49 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h b/libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h
index aa26c66..70fafe6 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CSceneNodeAnimatorRotation.h
@@ -1,49 +1,49 @@
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 __C_SCENE_NODE_ANIMATOR_ROTATION_H_INCLUDED__ 5#ifndef __C_SCENE_NODE_ANIMATOR_ROTATION_H_INCLUDED__
6#define __C_SCENE_NODE_ANIMATOR_ROTATION_H_INCLUDED__ 6#define __C_SCENE_NODE_ANIMATOR_ROTATION_H_INCLUDED__
7 7
8#include "ISceneNode.h" 8#include "ISceneNode.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace scene 12namespace scene
13{ 13{
14 class CSceneNodeAnimatorRotation : public ISceneNodeAnimator 14 class CSceneNodeAnimatorRotation : public ISceneNodeAnimator
15 { 15 {
16 public: 16 public:
17 17
18 //! constructor 18 //! constructor
19 CSceneNodeAnimatorRotation(u32 time, const core::vector3df& rotation); 19 CSceneNodeAnimatorRotation(u32 time, const core::vector3df& rotation);
20 20
21 //! animates a scene node 21 //! animates a scene node
22 virtual void animateNode(ISceneNode* node, u32 timeMs); 22 virtual void animateNode(ISceneNode* node, u32 timeMs);
23 23
24 //! Writes attributes of the scene node animator. 24 //! Writes attributes of the scene node animator.
25 virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const; 25 virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const;
26 26
27 //! Reads attributes of the scene node animator. 27 //! Reads attributes of the scene node animator.
28 virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0); 28 virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0);
29 29
30 //! Returns type of the scene node animator 30 //! Returns type of the scene node animator
31 virtual ESCENE_NODE_ANIMATOR_TYPE getType() const { return ESNAT_ROTATION; } 31 virtual ESCENE_NODE_ANIMATOR_TYPE getType() const { return ESNAT_ROTATION; }
32 32
33 //! Creates a clone of this animator. 33 //! Creates a clone of this animator.
34 /** Please note that you will have to drop 34 /** Please note that you will have to drop
35 (IReferenceCounted::drop()) the returned pointer after calling this. */ 35 (IReferenceCounted::drop()) the returned pointer after calling this. */
36 virtual ISceneNodeAnimator* createClone(ISceneNode* node, ISceneManager* newManager=0); 36 virtual ISceneNodeAnimator* createClone(ISceneNode* node, ISceneManager* newManager=0);
37 37
38 private: 38 private:
39 39
40 core::vector3df Rotation; 40 core::vector3df Rotation;
41 u32 StartTime; 41 u32 StartTime;
42 }; 42 };
43 43
44 44
45} // end namespace scene 45} // end namespace scene
46} // end namespace irr 46} // end namespace irr
47 47
48#endif 48#endif
49 49