aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CDummyTransformationSceneNode.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/CDummyTransformationSceneNode.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 '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CDummyTransformationSceneNode.h124
1 files changed, 62 insertions, 62 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CDummyTransformationSceneNode.h b/libraries/irrlicht-1.8/source/Irrlicht/CDummyTransformationSceneNode.h
index 2ad2266..f1abb6d 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CDummyTransformationSceneNode.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CDummyTransformationSceneNode.h
@@ -1,62 +1,62 @@
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_DUMMY_TRANSFORMATION_SCENE_NODE_H_INCLUDED__ 5#ifndef __C_DUMMY_TRANSFORMATION_SCENE_NODE_H_INCLUDED__
6#define __C_DUMMY_TRANSFORMATION_SCENE_NODE_H_INCLUDED__ 6#define __C_DUMMY_TRANSFORMATION_SCENE_NODE_H_INCLUDED__
7 7
8#include "IDummyTransformationSceneNode.h" 8#include "IDummyTransformationSceneNode.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace scene 12namespace scene
13{ 13{
14 14
15 class CDummyTransformationSceneNode : public IDummyTransformationSceneNode 15 class CDummyTransformationSceneNode : public IDummyTransformationSceneNode
16 { 16 {
17 public: 17 public:
18 18
19 //! constructor 19 //! constructor
20 CDummyTransformationSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id); 20 CDummyTransformationSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id);
21 21
22 //! returns the axis aligned bounding box of this node 22 //! returns the axis aligned bounding box of this node
23 virtual const core::aabbox3d<f32>& getBoundingBox() const; 23 virtual const core::aabbox3d<f32>& getBoundingBox() const;
24 24
25 //! Returns a reference to the current relative transformation matrix. 25 //! Returns a reference to the current relative transformation matrix.
26 //! This is the matrix, this scene node uses instead of scale, translation 26 //! This is the matrix, this scene node uses instead of scale, translation
27 //! and rotation. 27 //! and rotation.
28 virtual core::matrix4& getRelativeTransformationMatrix(); 28 virtual core::matrix4& getRelativeTransformationMatrix();
29 29
30 //! Returns the relative transformation of the scene node. 30 //! Returns the relative transformation of the scene node.
31 virtual core::matrix4 getRelativeTransformation() const; 31 virtual core::matrix4 getRelativeTransformation() const;
32 32
33 //! does nothing. 33 //! does nothing.
34 virtual void render() {} 34 virtual void render() {}
35 35
36 //! Returns type of the scene node 36 //! Returns type of the scene node
37 virtual ESCENE_NODE_TYPE getType() const { return ESNT_DUMMY_TRANSFORMATION; } 37 virtual ESCENE_NODE_TYPE getType() const { return ESNT_DUMMY_TRANSFORMATION; }
38 38
39 //! Creates a clone of this scene node and its children. 39 //! Creates a clone of this scene node and its children.
40 virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0); 40 virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0);
41 41
42 42
43 private: 43 private:
44 44
45 // TODO: We can add least add some warnings to find troubles faster until we have 45 // TODO: We can add least add some warnings to find troubles faster until we have
46 // fixed bug id 2318691. 46 // fixed bug id 2318691.
47 virtual const core::vector3df& getScale() const; 47 virtual const core::vector3df& getScale() const;
48 virtual void setScale(const core::vector3df& scale); 48 virtual void setScale(const core::vector3df& scale);
49 virtual const core::vector3df& getRotation() const; 49 virtual const core::vector3df& getRotation() const;
50 virtual void setRotation(const core::vector3df& rotation); 50 virtual void setRotation(const core::vector3df& rotation);
51 virtual const core::vector3df& getPosition() const; 51 virtual const core::vector3df& getPosition() const;
52 virtual void setPosition(const core::vector3df& newpos); 52 virtual void setPosition(const core::vector3df& newpos);
53 53
54 core::matrix4 RelativeTransformationMatrix; 54 core::matrix4 RelativeTransformationMatrix;
55 core::aabbox3d<f32> Box; 55 core::aabbox3d<f32> Box;
56 }; 56 };
57 57
58} // end namespace scene 58} // end namespace scene
59} // end namespace irr 59} // end namespace irr
60 60
61#endif 61#endif
62 62