| 656 | } |
| 657 | |
| 658 | void Tr2DebugRenderer::DrawAxis( Tr2DebugObjectReference owner, const Matrix& transform, Effect effect ) |
| 659 | { |
| 660 | DrawArrow( owner, transform.GetTranslation(), transform.GetTranslation() + transform.GetX(), 0, 0.2f, 10, effect, Color( 1, 0, 0, 1 ) ); |
| 661 | DrawArrow( owner, transform.GetTranslation(), transform.GetTranslation() + transform.GetY(), 0, 0.2f, 10, effect, Color( 0, 1, 0, 1 ) ); |
| 662 | DrawArrow( owner, transform.GetTranslation(), transform.GetTranslation() + transform.GetZ(), 0, 0.2f, 10, effect, Color( 0, 0, 1, 1 ) ); |
| 663 | } |
| 664 | |
| 665 | void Tr2DebugRenderer::DrawExtrusionShape( Tr2DebugObjectReference owner, const Matrix& transform, const Vector2* vertices, const Vector2* normals, uint32_t vertexCount, uint32_t segments, Effect effect, Tr2DebugColor color ) |
| 666 | { |
no test coverage detected