aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CSTLMeshWriter.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/CSTLMeshWriter.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 '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CSTLMeshWriter.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CSTLMeshWriter.h b/libraries/irrlicht-1.8/source/Irrlicht/CSTLMeshWriter.h
index 0b0b76d..9581321 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CSTLMeshWriter.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CSTLMeshWriter.h
@@ -1,55 +1,55 @@
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 4
5#ifndef __IRR_STL_MESH_WRITER_H_INCLUDED__ 5#ifndef __IRR_STL_MESH_WRITER_H_INCLUDED__
6#define __IRR_STL_MESH_WRITER_H_INCLUDED__ 6#define __IRR_STL_MESH_WRITER_H_INCLUDED__
7 7
8#include "IMeshWriter.h" 8#include "IMeshWriter.h"
9#include "S3DVertex.h" 9#include "S3DVertex.h"
10#include "irrString.h" 10#include "irrString.h"
11 11
12namespace irr 12namespace irr
13{ 13{
14namespace scene 14namespace scene
15{ 15{
16 class IMeshBuffer; 16 class IMeshBuffer;
17 class ISceneManager; 17 class ISceneManager;
18 18
19 //! class to write meshes, implementing a STL writer 19 //! class to write meshes, implementing a STL writer
20 class CSTLMeshWriter : public IMeshWriter 20 class CSTLMeshWriter : public IMeshWriter
21 { 21 {
22 public: 22 public:
23 23
24 CSTLMeshWriter(scene::ISceneManager* smgr); 24 CSTLMeshWriter(scene::ISceneManager* smgr);
25 virtual ~CSTLMeshWriter(); 25 virtual ~CSTLMeshWriter();
26 26
27 //! Returns the type of the mesh writer 27 //! Returns the type of the mesh writer
28 virtual EMESH_WRITER_TYPE getType() const; 28 virtual EMESH_WRITER_TYPE getType() const;
29 29
30 //! writes a mesh 30 //! writes a mesh
31 virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, s32 flags=EMWF_NONE); 31 virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, s32 flags=EMWF_NONE);
32 32
33 protected: 33 protected:
34 // write binary format 34 // write binary format
35 bool writeMeshBinary(io::IWriteFile* file, scene::IMesh* mesh, s32 flags); 35 bool writeMeshBinary(io::IWriteFile* file, scene::IMesh* mesh, s32 flags);
36 36
37 // write text format 37 // write text format
38 bool writeMeshASCII(io::IWriteFile* file, scene::IMesh* mesh, s32 flags); 38 bool writeMeshASCII(io::IWriteFile* file, scene::IMesh* mesh, s32 flags);
39 39
40 // create vector output with line end into string 40 // create vector output with line end into string
41 void getVectorAsStringLine(const core::vector3df& v, 41 void getVectorAsStringLine(const core::vector3df& v,
42 core::stringc& s) const; 42 core::stringc& s) const;
43 43
44 // write face information to file 44 // write face information to file
45 void writeFace(io::IWriteFile* file, const core::vector3df& v1, 45 void writeFace(io::IWriteFile* file, const core::vector3df& v1,
46 const core::vector3df& v2, const core::vector3df& v3); 46 const core::vector3df& v2, const core::vector3df& v3);
47 47
48 scene::ISceneManager* SceneManager; 48 scene::ISceneManager* SceneManager;
49 }; 49 };
50 50
51} // end namespace 51} // end namespace
52} // end namespace 52} // end namespace
53 53
54#endif 54#endif
55 55