| 483 | } |
| 484 | |
| 485 | UInt32 Mesh::GetTriangleCount() const |
| 486 | { |
| 487 | NazaraAssert(m_impl, "Mesh should be created first"); |
| 488 | |
| 489 | UInt32 triangleCount = 0; |
| 490 | for (SubMesh* subMesh : m_impl->subMeshes) |
| 491 | triangleCount += subMesh->GetTriangleCount(); |
| 492 | |
| 493 | return triangleCount; |
| 494 | } |
| 495 | |
| 496 | UInt32 Mesh::GetVertexCount() const |
| 497 | { |
no outgoing calls
no test coverage detected