| 2119 | } |
| 2120 | |
| 2121 | void DebugDraw::DrawWireCone(const Vector3& position, const Quaternion& orientation, float radius, float angleXY, float angleXZ, const Color& color, float duration, bool depthTest) |
| 2122 | { |
| 2123 | Array<DebugTriangle>* list; |
| 2124 | if (depthTest) |
| 2125 | list = duration > 0 ? &Context->DebugDrawDepthTest.DefaultWireTriangles : &Context->DebugDrawDepthTest.OneFrameWireTriangles; |
| 2126 | else |
| 2127 | list = duration > 0 ? &Context->DebugDrawDefault.DefaultWireTriangles : &Context->DebugDrawDefault.OneFrameWireTriangles; |
| 2128 | ::DrawCone(list, position, orientation, radius, angleXY, angleXZ, color, duration); |
| 2129 | } |
| 2130 | |
| 2131 | void DebugDraw::DrawArc(const Vector3& position, const Quaternion& orientation, float radius, float angle, const Color& color, float duration, bool depthTest) |
| 2132 | { |
nothing calls this directly
no test coverage detected