|
@@ -53,7 +53,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
#include "qnan.h"
|
|
|
|
|
|
|
|
|
-using namespace Assimp;
|
|
|
+//using namespace Assimp;
|
|
|
namespace Assimp {
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
@@ -86,8 +86,6 @@ void ExportScenePlyBinary(const char* pFile, IOSystem* pIOSystem, const aiScene*
|
|
|
outfile->Write(exporter.mOutput.str().c_str(), static_cast<size_t>(exporter.mOutput.tellp()), 1);
|
|
|
}
|
|
|
|
|
|
-} // end of namespace Assimp
|
|
|
-
|
|
|
#define PLY_EXPORT_HAS_NORMALS 0x1
|
|
|
#define PLY_EXPORT_HAS_TANGENTS_BITANGENTS 0x2
|
|
|
#define PLY_EXPORT_HAS_TEXCOORDS 0x4
|
|
@@ -216,6 +214,11 @@ PlyExporter::PlyExporter(const char* _filename, const aiScene* pScene, bool bina
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+// ------------------------------------------------------------------------------------------------
|
|
|
+PlyExporter::~PlyExporter() {
|
|
|
+ // empty
|
|
|
+}
|
|
|
+
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
void PlyExporter::WriteMeshVerts(const aiMesh* m, unsigned int components)
|
|
|
{
|
|
@@ -367,4 +370,6 @@ void PlyExporter::WriteMeshIndicesBinary(const aiMesh* m, unsigned int offset)
|
|
|
WriteMeshIndicesBinary_Generic<unsigned char, int>(m, offset, mOutput);
|
|
|
}
|
|
|
|
|
|
-#endif
|
|
|
+} // end of namespace Assimp
|
|
|
+
|
|
|
+#endif // !defined(ASSIMP_BUILD_NO_EXPORT) && !defined(ASSIMP_BUILD_NO_PLY_EXPORTER)
|