-------------------------------------------------------------------------------
| 114 | |
| 115 | // ------------------------------------------------------------------------------- |
| 116 | void FindMeshCenterTransformed(aiMesh *mesh, aiVector3D &out, aiVector3D &min, |
| 117 | aiVector3D &max, const aiMatrix4x4 &m) { |
| 118 | FindAABBTransformed(mesh, min, max, m); |
| 119 | out = min + (max - min) * (ai_real)0.5; |
| 120 | } |
| 121 | |
| 122 | // ------------------------------------------------------------------------------- |
| 123 | void FindMeshCenter(aiMesh *mesh, aiVector3D &out) { |
no test coverage detected