diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8.1/source/Irrlicht/CPLYMeshWriter.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/source/Irrlicht/CPLYMeshWriter.h b/libraries/irrlicht-1.8.1/source/Irrlicht/CPLYMeshWriter.h new file mode 100644 index 0000000..79c2450 --- /dev/null +++ b/libraries/irrlicht-1.8.1/source/Irrlicht/CPLYMeshWriter.h | |||
@@ -0,0 +1,35 @@ | |||
1 | // Copyright (C) 2009-2012 Gaz Davidson | ||
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_PLY_MESH_WRITER_H_INCLUDED__ | ||
6 | #define __IRR_PLY_MESH_WRITER_H_INCLUDED__ | ||
7 | |||
8 | #include "IMeshWriter.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | |||
13 | namespace scene | ||
14 | { | ||
15 | class IMeshBuffer; | ||
16 | |||
17 | //! class to write PLY mesh files | ||
18 | class CPLYMeshWriter : public IMeshWriter | ||
19 | { | ||
20 | public: | ||
21 | |||
22 | CPLYMeshWriter(); | ||
23 | |||
24 | //! Returns the type of the mesh writer | ||
25 | virtual EMESH_WRITER_TYPE getType() const; | ||
26 | |||
27 | //! writes a mesh | ||
28 | virtual bool writeMesh(io::IWriteFile* file, scene::IMesh* mesh, s32 flags=EMWF_NONE); | ||
29 | |||
30 | }; | ||
31 | |||
32 | } // end namespace | ||
33 | } // end namespace | ||
34 | |||
35 | #endif | ||