From 1dd25f4e73eb5df78174f03a5693f852e2c0cdcd Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 6 Sep 2013 23:27:10 +0200 Subject: [PATCH] Fixed MeshInfos not compiling Former-commit-id: 3e3c840402eca5eb1e3fa5104a91e41d5d669139 --- examples/MeshInfos/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/MeshInfos/main.cpp b/examples/MeshInfos/main.cpp index 93775e9da..059b66da2 100644 --- a/examples/MeshInfos/main.cpp +++ b/examples/MeshInfos/main.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include @@ -33,7 +33,7 @@ int main() while (resourceDirectory.NextResult()) { NzString path = resourceDirectory.GetResultName(); - NzString ext = path.SubstrFrom('.', -1, true); // Tout ce qui vient après le dernier '.' de la chaîne + NzString ext = path.SubStringFrom('.', -1, true); // Tout ce qui vient après le dernier '.' de la chaîne if (NzMeshLoader::IsExtensionSupported(ext)) // L'extension est-elle supportée par le MeshLoader ? models.push_back(path); } @@ -152,7 +152,7 @@ int main() std::cout << "It's animable but has no animation information" << std::endl; } - NzCubef cube = mesh.GetAABB(); + NzBoxf cube = mesh.GetAABB(); std::cout << "Mesh is " << cube.width << " units wide, " << cube.height << " units height and " << cube.depth << " units depth" << std::endl; unsigned int materialCount = mesh.GetMaterialCount();