Removed SetupAssimpScene from header, using indices array per mesh
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#if __has_include("assimp/Exporter.hpp")
|
||||
#include <assimp/scene.h>
|
||||
#endif
|
||||
|
||||
namespace OpenVulkano::Scene
|
||||
{
|
||||
class Geometry;
|
||||
@@ -24,10 +20,5 @@ namespace OpenVulkano::Scene
|
||||
static void WriteAsUSDZ(Geometry* geometry, const std::string& texturePath, const std::string& usdzPath);
|
||||
static void WriteAsFBX(Geometry* geometry, const std::string& texturePath, const std::string& fbxPath);
|
||||
static void WriteAsSTL(Geometry* geometry, const std::string& filePath, bool binary);
|
||||
private:
|
||||
#if __has_include("assimp/Exporter.hpp")
|
||||
static void SetupAssimpScene(Geometry* geometry, aiScene& scene, aiNode& rootNode, aiMesh& mesh,
|
||||
bool withTexCoords, float scaling);
|
||||
#endif
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user