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

Method DrawWireCone

Source/Engine/Debug/DebugDraw.cpp:2121–2129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2119}
2120
2121void 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
2131void DebugDraw::DrawArc(const Vector3& position, const Quaternion& orientation, float radius, float angle, const Color& color, float duration, bool depthTest)
2132{

Callers

nothing calls this directly

Calls 1

DrawConeFunction · 0.85

Tested by

no test coverage detected