MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / DrawCylinder

Method DrawCylinder

Source/Engine/Debug/DebugDraw.cpp:2091–2099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2089}
2090
2091void 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
2101void DebugDraw::DrawWireCylinder(const Vector3& position, const Quaternion& orientation, float radius, float height, const Color& color, float duration, bool depthTest)
2102{

Callers

nothing calls this directly

Calls 1

DrawCylinderFunction · 0.85

Tested by

no test coverage detected