summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-13 20:03:13 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-13 20:03:13 +0100
commitc51c4c0ca3b19e47d6e75ce4be247a28d412a04c (patch)
tree60e80d7f4e91621bc62cb5fb2f6c61aae631b4d9
parentRename clear to opaque as its 1 for solid (diff)
downloadilt-c51c4c0ca3b19e47d6e75ce4be247a28d412a04c.tar.bz2
ilt-c51c4c0ca3b19e47d6e75ce4be247a28d412a04c.tar.xz
ilt-c51c4c0ca3b19e47d6e75ce4be247a28d412a04c.zip
Fix typo in name SceneCPtr
-rw-r--r--assetFactory/assimp.cpp8
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);