add binary exporter to STLExporter

This commit is contained in:
YoheiKakiuchi
2013-07-31 20:15:59 +09:00
parent 3542bad65d
commit 4ccb16fe01
3 changed files with 68 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ class STLExporter
{
public:
/// Constructor for a specific scene to export
STLExporter(const char* filename, const aiScene* pScene);
STLExporter(const char* filename, const aiScene* pScene, bool binary = false);
public:
@@ -69,6 +69,7 @@ public:
private:
void WriteMesh(const aiMesh* m);
void WriteMeshBinary(const aiMesh* m);
private: