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

Function WriteLists

Source/Engine/Debug/DebugDraw.cpp:471–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469
470template<typename T, typename U>
471DebugDrawCall WriteLists(int32& vertexCounter, const Array<T>& listA, const Array<U>& listB)
472{
473 const DebugDrawCall drawCallA = WriteList(vertexCounter, listA);
474 const DebugDrawCall drawCallB = WriteList(vertexCounter, listB);
475 DebugDrawCall drawCall;
476 drawCall.StartVertex = drawCallA.StartVertex;
477 drawCall.VertexCount = drawCallA.VertexCount + drawCallB.VertexCount;
478 return drawCall;
479}
480
481FORCE_INLINE DebugTriangle* AppendTriangles(int32 count, float duration, bool depthTest)
482{

Callers 1

DrawMethod · 0.85

Calls 1

WriteListFunction · 0.85

Tested by

no test coverage detected