|
@@ -43,14 +43,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
#if !defined(ASSIMP_BUILD_NO_EXPORT) && !defined(ASSIMP_BUILD_NO_PLY_EXPORTER)
|
|
#if !defined(ASSIMP_BUILD_NO_EXPORT) && !defined(ASSIMP_BUILD_NO_PLY_EXPORTER)
|
|
|
|
|
|
#include "PlyExporter.h"
|
|
#include "PlyExporter.h"
|
|
-#include <boost/scoped_ptr.hpp>
|
|
|
|
|
|
+#include <boost/scoped_ptr.hpp>
|
|
#include <cmath>
|
|
#include <cmath>
|
|
-#include "Exceptional.h"
|
|
|
|
-#include "../include/assimp/scene.h"
|
|
|
|
-#include "../include/assimp/version.h"
|
|
|
|
-#include "../include/assimp/IOSystem.hpp"
|
|
|
|
|
|
+#include "Exceptional.h"
|
|
|
|
+#include "../include/assimp/scene.h"
|
|
|
|
+#include "../include/assimp/version.h"
|
|
|
|
+#include "../include/assimp/IOSystem.hpp"
|
|
#include "../include/assimp/Exporter.hpp"
|
|
#include "../include/assimp/Exporter.hpp"
|
|
-#include "qnan.h"
|
|
|
|
|
|
+#include "qnan.h"
|
|
|
|
|
|
|
|
|
|
using namespace Assimp;
|
|
using namespace Assimp;
|
|
@@ -96,8 +96,7 @@ void ExportScenePlyBinary(const char* pFile, IOSystem* pIOSystem, const aiScene*
|
|
// ------------------------------------------------------------------------------------------------
|
|
// ------------------------------------------------------------------------------------------------
|
|
PlyExporter::PlyExporter(const char* _filename, const aiScene* pScene, bool binary)
|
|
PlyExporter::PlyExporter(const char* _filename, const aiScene* pScene, bool binary)
|
|
: filename(_filename)
|
|
: filename(_filename)
|
|
-, pScene(pScene)
|
|
|
|
-, endl("\n")
|
|
|
|
|
|
+, endl("\n")
|
|
{
|
|
{
|
|
// make sure that all formatting happens using the standard, C locale and not the user's current locale
|
|
// make sure that all formatting happens using the standard, C locale and not the user's current locale
|
|
const std::locale& l = std::locale("C");
|
|
const std::locale& l = std::locale("C");
|