Changed order of includes, uint32_t as index for Geometry::GetIndex(), minor changes
This commit is contained in:
@@ -11,18 +11,9 @@
|
||||
#include "Scene/ObjEncoder.hpp"
|
||||
#include "IO/Archive/ArchiveWriter.hpp"
|
||||
#include "IO/Archive/ZipWriter.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <fmt/core.h>
|
||||
#include <tinyusdz.hh>
|
||||
#include <pprinter.hh>
|
||||
#include <prim-pprint.hh>
|
||||
#include <value-pprint.hh>
|
||||
#include <tiny-format.hh>
|
||||
#include <tiny-variant.hh>
|
||||
#include <usda-reader.hh>
|
||||
#include <usda-writer.hh>
|
||||
#include <usdc-reader.hh>
|
||||
#include <usdc-writer.hh>
|
||||
|
||||
namespace OpenVulkano::Scene
|
||||
{
|
||||
@@ -48,7 +39,7 @@ namespace OpenVulkano::Scene
|
||||
file.close();
|
||||
}
|
||||
|
||||
void MeshWriter::WriteObjAsZip(Geometry* geometry, const std::string& zipPath, const std::string& texturePath)
|
||||
void MeshWriter::WriteObjAsZip(Geometry* geometry, const std::string& texturePath, const std::string& zipPath)
|
||||
{
|
||||
OpenVulkano::ArchiveWriter zipWriter(zipPath.c_str());
|
||||
|
||||
@@ -68,7 +59,7 @@ namespace OpenVulkano::Scene
|
||||
}
|
||||
}
|
||||
|
||||
void MeshWriter::WriteAsUSDZ(Geometry* geometry, const std::string& usdzPath, const std::string& texturePath)
|
||||
void MeshWriter::WriteAsUSDZ(Geometry* geometry, const std::string& texturePath, const std::string& usdzPath)
|
||||
{
|
||||
OpenVulkano::ZipWriter zipWriter(usdzPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user