diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/COBJMeshWriter.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/COBJMeshWriter.h b/libraries/irrlicht-1.8/source/Irrlicht/COBJMeshWriter.h deleted file mode 100644 index eb86096..0000000 --- a/libraries/irrlicht-1.8/source/Irrlicht/COBJMeshWriter.h +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | // Copyright (C) 2008-2012 Christian Stehno | ||
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 __IRR_OBJ_MESH_WRITER_H_INCLUDED__ | ||
6 | #define __IRR_OBJ_MESH_WRITER_H_INCLUDED__ | ||
7 | |||
8 | #include "IMeshWriter.h" | ||
9 | #include "S3DVertex.h" | ||
10 | #include "irrString.h" | ||
11 | |||
12 | namespace irr | ||
13 | { | ||
14 | namespace io | ||
15 | { | ||
16 | class IFileSystem; | ||
17 | } // end namespace io | ||
18 | namespace scene | ||
19 | { | ||
20 | class IMeshBuffer; | ||
21 | class ISceneManager; | ||
22 | |||
23 | //! class to write meshes, implementing a OBJ writer | ||
24 | class COBJMeshWriter : public IMeshWriter | ||
25 | { | ||
26 | public: | ||
27 | |||
28 | COBJMeshWriter(scene::ISceneManager* smgr, io::IFileSystem* fs); | ||
29 | virtual ~COBJMeshWriter(); | ||
30 | |||
31 | //! Returns the type of the mesh writer | ||
32 | virtual EMESH_WRITER_TYPE getType() const; | ||
33 | |||
34 | //! writes a mesh | ||
35 | virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, s32 flags=EMWF_NONE); | ||
36 | |||
37 | protected: | ||
38 | // create vector output with line end into string | ||
39 | void getVectorAsStringLine(const core::vector3df& v, | ||
40 | core::stringc& s) const; | ||
41 | |||
42 | // create vector output with line end into string | ||
43 | void getVectorAsStringLine(const core::vector2df& v, | ||
44 | core::stringc& s) const; | ||
45 | |||
46 | // create color output with line end into string | ||
47 | void getColorAsStringLine(const video::SColor& color, | ||
48 | const c8* const prefix, core::stringc& s) const; | ||
49 | |||
50 | scene::ISceneManager* SceneManager; | ||
51 | io::IFileSystem* FileSystem; | ||
52 | }; | ||
53 | |||
54 | } // end namespace | ||
55 | } // end namespace | ||
56 | |||
57 | #endif | ||
58 | |||