Fixed MeshInfos

Former-commit-id: 1eeec63c065b2faf44703a500149e9c0dd58f10a
This commit is contained in:
Lynix 2013-03-06 01:06:36 +01:00
parent 16a6a78299
commit 9b7a0ff4d7
1 changed files with 1 additions and 5 deletions

View File

@ -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();