| 2109 | } |
| 2110 | |
| 2111 | void DebugDraw::DrawCone(const Vector3& position, const Quaternion& orientation, float radius, float angleXY, float angleXZ, const Color& color, float duration, bool depthTest) |
| 2112 | { |
| 2113 | Array<DebugTriangle>* list; |
| 2114 | if (depthTest) |
| 2115 | list = duration > 0 ? &Context->DebugDrawDepthTest.DefaultTriangles : &Context->DebugDrawDepthTest.OneFrameTriangles; |
| 2116 | else |
| 2117 | list = duration > 0 ? &Context->DebugDrawDefault.DefaultTriangles : &Context->DebugDrawDefault.OneFrameTriangles; |
| 2118 | ::DrawCone(list, position, orientation, radius, angleXY, angleXZ, color, duration); |
| 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 | { |
nothing calls this directly
no test coverage detected