| 39 | } |
| 40 | |
| 41 | void EveBoxVolume::RenderDebugInfo( ITr2DebugRenderer2& renderer, const Matrix& parentTransform, const Color& baseColor ) |
| 42 | { |
| 43 | renderer.DrawBox( this, m_boxTransform * parentTransform, MIN_AABB, MAX_AABB, Tr2DebugRenderer::Wireframe, baseColor * 0.5f ); |
| 44 | renderer.DrawBox( this, m_innerBoxTransform * parentTransform, MIN_AABB, MAX_AABB, Tr2DebugRenderer::Wireframe, baseColor * 0.6f ); |
| 45 | |
| 46 | if( m_debugShowIntersection ) |
| 47 | { |
| 48 | renderer.DrawSphere( this, parentTransform, TransformCoord( m_innerIntersection, m_boxTransform ), 1, 16, Tr2DebugRenderer::Solid, 0xff555555 ); |
| 49 | renderer.DrawSphere( this, parentTransform, TransformCoord( m_outerIntersection, m_boxTransform ), 1, 16, Tr2DebugRenderer::Solid, 0xffffff00 ); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | const CcpMath::Sphere EveBoxVolume::GetBoundingSphere() const |
| 54 | { |
nothing calls this directly
no test coverage detected