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