aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CSkyDomeSceneNode.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/CSkyDomeSceneNode.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-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.h100
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
12namespace irr 12namespace irr
13{ 13{
14namespace scene 14namespace scene
15{ 15{
16 16
17class CSkyDomeSceneNode : public ISceneNode 17class 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