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

Method DrawWireCylinder

Source/Engine/Debug/DebugDraw.cpp:2101–2109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2099}
2100
2101void DebugDraw::DrawWireCylinder(const Vector3& position, const Quaternion& orientation, float radius, float height, const Color& color, float duration, bool depthTest)
2102{
2103 Array<DebugTriangle>* list;
2104 if (depthTest)
2105 list = duration > 0 ? &Context->DebugDrawDepthTest.DefaultWireTriangles : &Context->DebugDrawDepthTest.OneFrameWireTriangles;
2106 else
2107 list = duration > 0 ? &Context->DebugDrawDefault.DefaultWireTriangles : &Context->DebugDrawDefault.OneFrameWireTriangles;
2108 ::DrawCylinder(list, position, orientation, radius, height, color, duration);
2109}
2110
2111void DebugDraw::DrawCone(const Vector3& position, const Quaternion& orientation, float radius, float angleXY, float angleXZ, const Color& color, float duration, bool depthTest)
2112{

Callers

nothing calls this directly

Calls 1

DrawCylinderFunction · 0.85

Tested by

no test coverage detected