Fixed MeshInfos
Former-commit-id: 1eeec63c065b2faf44703a500149e9c0dd58f10a
This commit is contained in:
parent
16a6a78299
commit
9b7a0ff4d7
|
|
@ -75,10 +75,6 @@ int main()
|
||||||
|
|
||||||
switch (mesh.GetAnimationType())
|
switch (mesh.GetAnimationType())
|
||||||
{
|
{
|
||||||
case nzAnimationType_Keyframe:
|
|
||||||
std::cout << "This is a keyframe-animated mesh" << std::endl;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case nzAnimationType_Skeletal:
|
case nzAnimationType_Skeletal:
|
||||||
std::cout << "This is a skeletal-animated mesh" << std::endl;
|
std::cout << "This is a skeletal-animated mesh" << std::endl;
|
||||||
break;
|
break;
|
||||||
|
|
@ -155,7 +151,7 @@ int main()
|
||||||
std::cout << "It's animable but has no animation information" << std::endl;
|
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;
|
std::cout << "Mesh is " << cube.width << " units wide, " << cube.height << " units height and " << cube.depth << " units depth" << std::endl;
|
||||||
|
|
||||||
unsigned int materialCount = mesh.GetMaterialCount();
|
unsigned int materialCount = mesh.GetMaterialCount();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue