| 421 | #endif |
| 422 | |
| 423 | bool TriGeometryRes::GetBoundingBox( unsigned int meshIx, Vector3& min, Vector3& max ) const |
| 424 | { |
| 425 | TriGeometryResMeshData* mesh = GetMeshData( meshIx ); |
| 426 | if( !mesh ) |
| 427 | { |
| 428 | return false; |
| 429 | } |
| 430 | |
| 431 | min = mesh->m_minBounds; |
| 432 | max = mesh->m_maxBounds; |
| 433 | |
| 434 | return true; |
| 435 | } |
| 436 | |
| 437 | Be::Result<std::string> TriGeometryRes::GetBoundingBoxFromScript( unsigned int meshIx, std::pair<Vector3, Vector3>& bounds ) const |
| 438 | { |
no outgoing calls
no test coverage detected