MCPcopy Create free account
hub / github.com/Illation/ETEngine / DrawLine

Method DrawLine

Engine/source/EtRendering/Extensions/DebugRenderer.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void DebugRenderer::DrawLine(vec3 start, vec3 end, vec4 col /*= vec4(1)*/, float thickness /*= 1*/)
133{
134#if defined(ET_DEBUG)
135 CheckMetaData(thickness);
136 m_Lines.push_back(LineVertex(start, col));
137 m_Lines.push_back(LineVertex(end, col));
138#endif
139}
140
141void DebugRenderer::DrawLine(vec3 start, vec4 startCol, vec3 end, vec4 endCol, float thickness /*= 1*/)
142{

Callers

nothing calls this directly

Calls 1

LineVertexClass · 0.85

Tested by

no test coverage detected