| 2089 | } |
| 2090 | |
| 2091 | void DebugDraw::DrawCylinder(const Vector3& position, const Quaternion& orientation, float radius, float height, const Color& color, float duration, bool depthTest) |
| 2092 | { |
| 2093 | Array<DebugTriangle>* list; |
| 2094 | if (depthTest) |
| 2095 | list = duration > 0 ? &Context->DebugDrawDepthTest.DefaultTriangles : &Context->DebugDrawDepthTest.OneFrameTriangles; |
| 2096 | else |
| 2097 | list = duration > 0 ? &Context->DebugDrawDefault.DefaultTriangles : &Context->DebugDrawDefault.OneFrameTriangles; |
| 2098 | ::DrawCylinder(list, position, orientation, radius, height, color, duration); |
| 2099 | } |
| 2100 | |
| 2101 | void DebugDraw::DrawWireCylinder(const Vector3& position, const Quaternion& orientation, float radius, float height, const Color& color, float duration, bool depthTest) |
| 2102 | { |
nothing calls this directly
no test coverage detected