diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CEmptySceneNode.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CEmptySceneNode.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CEmptySceneNode.h b/libraries/irrlicht-1.8/source/Irrlicht/CEmptySceneNode.h index cbd8971..e03b2ec 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/CEmptySceneNode.h +++ b/libraries/irrlicht-1.8/source/Irrlicht/CEmptySceneNode.h | |||
@@ -1,46 +1,46 @@ | |||
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_EMPTY_SCENE_NODE_H_INCLUDED__ | 5 | #ifndef __C_EMPTY_SCENE_NODE_H_INCLUDED__ |
6 | #define __C_EMPTY_SCENE_NODE_H_INCLUDED__ | 6 | #define __C_EMPTY_SCENE_NODE_H_INCLUDED__ |
7 | 7 | ||
8 | #include "ISceneNode.h" | 8 | #include "ISceneNode.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | namespace scene | 12 | namespace scene |
13 | { | 13 | { |
14 | 14 | ||
15 | class CEmptySceneNode : public ISceneNode | 15 | class CEmptySceneNode : public ISceneNode |
16 | { | 16 | { |
17 | public: | 17 | public: |
18 | 18 | ||
19 | //! constructor | 19 | //! constructor |
20 | CEmptySceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id); | 20 | CEmptySceneNode(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 | //! This method is called just before the rendering process of the whole scene. | 25 | //! This method is called just before the rendering process of the whole scene. |
26 | virtual void OnRegisterSceneNode(); | 26 | virtual void OnRegisterSceneNode(); |
27 | 27 | ||
28 | //! does nothing. | 28 | //! does nothing. |
29 | virtual void render(); | 29 | virtual void render(); |
30 | 30 | ||
31 | //! Returns type of the scene node | 31 | //! Returns type of the scene node |
32 | virtual ESCENE_NODE_TYPE getType() const { return ESNT_EMPTY; } | 32 | virtual ESCENE_NODE_TYPE getType() const { return ESNT_EMPTY; } |
33 | 33 | ||
34 | //! Creates a clone of this scene node and its children. | 34 | //! Creates a clone of this scene node and its children. |
35 | virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0); | 35 | virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0); |
36 | 36 | ||
37 | private: | 37 | private: |
38 | 38 | ||
39 | core::aabbox3d<f32> Box; | 39 | core::aabbox3d<f32> Box; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | } // end namespace scene | 42 | } // end namespace scene |
43 | } // end namespace irr | 43 | } // end namespace irr |
44 | 44 | ||
45 | #endif | 45 | #endif |
46 | 46 | ||