Formatting changes.

pull/421/head
Andreas Henne 2014-12-05 19:40:09 +01:00
parent 4550279629
commit 33f9745b62
2 changed files with 7 additions and 7 deletions

View File

@ -114,7 +114,7 @@ Exporter::ExportFormatEntry gExporters[] =
Exporter::ExportFormatEntry( "ply", "Stanford Polygon Library", "ply" , &ExportScenePly, Exporter::ExportFormatEntry( "ply", "Stanford Polygon Library", "ply" , &ExportScenePly,
aiProcess_PreTransformVertices aiProcess_PreTransformVertices
), ),
Exporter::ExportFormatEntry("plyb", "Stanford Polygon Library Binary", "ply", &ExportScenePlyBinary, Exporter::ExportFormatEntry( "plyb", "Stanford Polygon Library Binary", "ply", &ExportScenePlyBinary,
aiProcess_PreTransformVertices aiProcess_PreTransformVertices
), ),
#endif #endif

View File

@ -203,7 +203,7 @@ PlyExporter::PlyExporter(const char* _filename, const aiScene* pScene, bool bina
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
void PlyExporter :: WriteMeshVerts(const aiMesh* m, unsigned int components) void PlyExporter::WriteMeshVerts(const aiMesh* m, unsigned int components)
{ {
for (unsigned int i = 0; i < m->mNumVertices; ++i) { for (unsigned int i = 0; i < m->mNumVertices; ++i) {
mOutput << mOutput <<
@ -316,7 +316,7 @@ void PlyExporter::WriteMeshVertsBinary(const aiMesh* m, unsigned int components)
} }
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
void PlyExporter :: WriteMeshIndices(const aiMesh* m, unsigned int offset) void PlyExporter::WriteMeshIndices(const aiMesh* m, unsigned int offset)
{ {
for (unsigned int i = 0; i < m->mNumFaces; ++i) { for (unsigned int i = 0; i < m->mNumFaces; ++i) {
const aiFace& f = m->mFaces[i]; const aiFace& f = m->mFaces[i];