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/source/Irrlicht/CSkyBoxSceneNode.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 'libraries/irrlicht-1.8/source/Irrlicht/CSkyBoxSceneNode.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CSkyBoxSceneNode.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CSkyBoxSceneNode.h b/libraries/irrlicht-1.8/source/Irrlicht/CSkyBoxSceneNode.h deleted file mode 100644 index 9173fda..0000000 --- a/libraries/irrlicht-1.8/source/Irrlicht/CSkyBoxSceneNode.h +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
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_SKY_BOX_SCENE_NODE_H_INCLUDED__ | ||
6 | #define __C_SKY_BOX_SCENE_NODE_H_INCLUDED__ | ||
7 | |||
8 | #include "ISceneNode.h" | ||
9 | #include "S3DVertex.h" | ||
10 | |||
11 | namespace irr | ||
12 | { | ||
13 | namespace scene | ||
14 | { | ||
15 | |||
16 | // Skybox, rendered with zbuffer turned off, before all other nodes. | ||
17 | class CSkyBoxSceneNode : public ISceneNode | ||
18 | { | ||
19 | public: | ||
20 | |||
21 | //! constructor | ||
22 | CSkyBoxSceneNode(video::ITexture* top, video::ITexture* bottom, video::ITexture* left, | ||
23 | video::ITexture* right, video::ITexture* front, video::ITexture* back, | ||
24 | ISceneNode* parent, ISceneManager* mgr, s32 id); | ||
25 | |||
26 | virtual void OnRegisterSceneNode(); | ||
27 | |||
28 | //! renders the node. | ||
29 | virtual void render(); | ||
30 | |||
31 | //! returns the axis aligned bounding box of this node | ||
32 | virtual const core::aabbox3d<f32>& getBoundingBox() const; | ||
33 | |||
34 | //! returns the material based on the zero based index i. To get the amount | ||
35 | //! of materials used by this scene node, use getMaterialCount(). | ||
36 | //! This function is needed for inserting the node into the scene hirachy on a | ||
37 | //! optimal position for minimizing renderstate changes, but can also be used | ||
38 | //! to directly modify the material of a scene node. | ||
39 | virtual video::SMaterial& getMaterial(u32 i); | ||
40 | |||
41 | //! returns amount of materials used by this scene node. | ||
42 | virtual u32 getMaterialCount() const; | ||
43 | |||
44 | //! Returns type of the scene node | ||
45 | virtual ESCENE_NODE_TYPE getType() const { return ESNT_SKY_BOX; } | ||
46 | |||
47 | //! Creates a clone of this scene node and its children. | ||
48 | virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0); | ||
49 | |||
50 | private: | ||
51 | |||
52 | core::aabbox3d<f32> Box; | ||
53 | u16 Indices[4]; | ||
54 | video::S3DVertex Vertices[4*6]; | ||
55 | video::SMaterial Material[6]; | ||
56 | }; | ||
57 | |||
58 | } // end namespace scene | ||
59 | } // end namespace irr | ||
60 | |||
61 | #endif | ||
62 | |||