-------------------------------------------------------------------------------
| 85 | |
| 86 | // ------------------------------------------------------------------------------- |
| 87 | void FindMeshCenter(aiMesh *mesh, aiVector3D &out, aiVector3D &min, aiVector3D &max) { |
| 88 | ArrayBounds(mesh->mVertices, mesh->mNumVertices, min, max); |
| 89 | out = min + (max - min) * (ai_real)0.5; |
| 90 | } |
| 91 | |
| 92 | // ------------------------------------------------------------------------------- |
| 93 | void FindSceneCenter(aiScene *scene, aiVector3D &out, aiVector3D &min, aiVector3D &max) { |
no test coverage detected