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