From 9b7a0ff4d76305823dab20e6a96f6dd924d4c7a8 Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 6 Mar 2013 01:06:36 +0100 Subject: [PATCH] Fixed MeshInfos Former-commit-id: 1eeec63c065b2faf44703a500149e9c0dd58f10a --- examples/MeshInfos/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/MeshInfos/main.cpp b/examples/MeshInfos/main.cpp index 0f63a1675..805f74231 100644 --- a/examples/MeshInfos/main.cpp +++ b/examples/MeshInfos/main.cpp @@ -75,10 +75,6 @@ int main() switch (mesh.GetAnimationType()) { - case nzAnimationType_Keyframe: - std::cout << "This is a keyframe-animated mesh" << std::endl; - break; - case nzAnimationType_Skeletal: std::cout << "This is a skeletal-animated mesh" << std::endl; break; @@ -155,7 +151,7 @@ int main() std::cout << "It's animable but has no animation information" << std::endl; } - NzCubef cube = mesh.GetAABB().GetCube(); + NzCubef 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();