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/CSkyDomeSceneNode.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/CSkyDomeSceneNode.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CSkyDomeSceneNode.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CSkyDomeSceneNode.h b/libraries/irrlicht-1.8/source/Irrlicht/CSkyDomeSceneNode.h deleted file mode 100644 index f3b8b55..0000000 --- a/libraries/irrlicht-1.8/source/Irrlicht/CSkyDomeSceneNode.h +++ /dev/null | |||
@@ -1,50 +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 | // Code for this scene node has been contributed by Anders la Cour-Harbo (alc) | ||
5 | |||
6 | #ifndef __C_SKY_DOME_SCENE_NODE_H_INCLUDED__ | ||
7 | #define __C_SKY_DOME_SCENE_NODE_H_INCLUDED__ | ||
8 | |||
9 | #include "ISceneNode.h" | ||
10 | #include "SMeshBuffer.h" | ||
11 | |||
12 | namespace irr | ||
13 | { | ||
14 | namespace scene | ||
15 | { | ||
16 | |||
17 | class CSkyDomeSceneNode : public ISceneNode | ||
18 | { | ||
19 | public: | ||
20 | CSkyDomeSceneNode(video::ITexture* texture, u32 horiRes, u32 vertRes, | ||
21 | f32 texturePercentage, f32 spherePercentage, f32 radius, | ||
22 | ISceneNode* parent, ISceneManager* smgr, s32 id); | ||
23 | virtual ~CSkyDomeSceneNode(); | ||
24 | virtual void OnRegisterSceneNode(); | ||
25 | virtual void render(); | ||
26 | virtual const core::aabbox3d<f32>& getBoundingBox() const; | ||
27 | virtual video::SMaterial& getMaterial(u32 i); | ||
28 | virtual u32 getMaterialCount() const; | ||
29 | virtual ESCENE_NODE_TYPE getType() const { return ESNT_SKY_DOME; } | ||
30 | |||
31 | virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; | ||
32 | virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); | ||
33 | virtual ISceneNode* clone(ISceneNode* newParent=0, ISceneManager* newManager=0); | ||
34 | |||
35 | private: | ||
36 | |||
37 | void generateMesh(); | ||
38 | |||
39 | SMeshBuffer* Buffer; | ||
40 | |||
41 | u32 HorizontalResolution, VerticalResolution; | ||
42 | f32 TexturePercentage, SpherePercentage, Radius; | ||
43 | }; | ||
44 | |||
45 | |||
46 | } | ||
47 | } | ||
48 | |||
49 | #endif | ||
50 | |||