MCPcopy Create free account
hub / github.com/axmolengine/axmol / draw

Method draw

3rdparty/recast/DebugDraw.cpp:602–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602void duDisplayList::draw(struct duDebugDraw* dd)
603{
604 if (!dd) return;
605 if (!m_size) return;
606 dd->depthMask(m_depthMask);
607 dd->begin(m_prim, m_primSize);
608 for (int i = 0; i < m_size; ++i)
609 dd->vertex(&m_pos[i*3], m_color[i]);
610 dd->end();
611}

Callers

nothing calls this directly

Calls 4

depthMaskMethod · 0.45
beginMethod · 0.45
vertexMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected