| 469 | |
| 470 | template<typename T, typename U> |
| 471 | DebugDrawCall 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 | |
| 481 | FORCE_INLINE DebugTriangle* AppendTriangles(int32 count, float duration, bool depthTest) |
| 482 | { |