diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-13 20:03:13 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-13 20:03:13 +0100 |
commit | c51c4c0ca3b19e47d6e75ce4be247a28d412a04c (patch) | |
tree | 60e80d7f4e91621bc62cb5fb2f6c61aae631b4d9 /assetFactory/assimp.cpp | |
parent | Rename clear to opaque as its 1 for solid (diff) | |
download | ilt-c51c4c0ca3b19e47d6e75ce4be247a28d412a04c.tar.bz2 ilt-c51c4c0ca3b19e47d6e75ce4be247a28d412a04c.tar.xz ilt-c51c4c0ca3b19e47d6e75ce4be247a28d412a04c.zip |
Fix typo in name SceneCPtr
Diffstat (limited to 'assetFactory/assimp.cpp')
-rw-r--r-- | assetFactory/assimp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assetFactory/assimp.cpp b/assetFactory/assimp.cpp index dd82105..878e7e7 100644 --- a/assetFactory/assimp.cpp +++ b/assetFactory/assimp.cpp @@ -29,12 +29,12 @@ operator!(const aiVector3t<T> & v) (parent)->m##member, (parent)->mNum##member \ } -using ScemeCPtr = std::shared_ptr<const aiScene>; +using SceneCPtr = std::shared_ptr<const aiScene>; class AssImpNode : public Shape { public: - AssImpNode(ScemeCPtr scene, const aiNode * node) : scene(std::move(scene)), node(node) { } + AssImpNode(SceneCPtr scene, const aiNode * node) : scene(std::move(scene)), node(node) { } - ScemeCPtr scene; + SceneCPtr scene; const aiNode * node; CreatedFaces @@ -90,7 +90,7 @@ public: void AssImp::postLoad() { - ScemeCPtr scene { + SceneCPtr scene { aiImportFile(Resource::mapPath(path).c_str(), aiProcess_RemoveRedundantMaterials), &aiReleaseImport}; if (!scene) { throw std::runtime_error("Failed to load asset library: " + path); |