Fixing a boatload of warnings
This commit is contained in:
@@ -9,10 +9,10 @@ struct aiScene;
|
||||
struct aiTexel;
|
||||
namespace Seele
|
||||
{
|
||||
DECLARE_REF(Mesh);
|
||||
DECLARE_REF(MeshAsset);
|
||||
DECLARE_REF(MaterialAsset);
|
||||
DECLARE_NAME_REF(Gfx, Graphics);
|
||||
DECLARE_REF(Mesh)
|
||||
DECLARE_REF(MeshAsset)
|
||||
DECLARE_REF(MaterialAsset)
|
||||
DECLARE_NAME_REF(Gfx, Graphics)
|
||||
class MeshLoader
|
||||
{
|
||||
public:
|
||||
@@ -21,7 +21,7 @@ public:
|
||||
void importAsset(const std::filesystem::path& filePath);
|
||||
private:
|
||||
void loadMaterials(const aiScene* scene, Array<PMaterialAsset>& globalMaterials, Gfx::PGraphics graphics);
|
||||
void loadTextures(const aiScene* scene, Gfx::PGraphics graphics, const std::filesystem::path& meshPath);
|
||||
void loadTextures(const aiScene* scene, const std::filesystem::path& meshPath);
|
||||
void loadGlobalMeshes(const aiScene* scene, Array<PMesh>& globalMeshes, const Array<PMaterialAsset>& materials, Gfx::PGraphics graphics);
|
||||
void convertAssimpARGB(unsigned char* dst, aiTexel* src, uint32 numPixels);
|
||||
|
||||
@@ -29,5 +29,5 @@ private:
|
||||
List<std::future<void>> futures;
|
||||
Gfx::PGraphics graphics;
|
||||
};
|
||||
DEFINE_REF(MeshLoader);
|
||||
DEFINE_REF(MeshLoader)
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user