MCPcopy Create free account
hub / github.com/defold/defold / DrawTriangles

Function DrawTriangles

engine/engine/src/physics_debug_render.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void DrawTriangles(dmVMath::Point3* points, uint32_t point_count, dmVMath::Vector4 color, void* user_data)
30 {
31 for (uint32_t i = 0; i < point_count/3; ++i)
32 dmRender::Triangle3d((dmRender::HRenderContext)user_data, &points[3*i], color);
33 }
34}

Callers

nothing calls this directly

Calls 1

Triangle3dFunction · 0.85

Tested by

no test coverage detected