MCPcopy Create free account
hub / github.com/brenocq/implot3d / TriRef

Class TriRef

implot3d.cpp:3818–3821  ·  view source on GitHub ↗

Build an array of (z, tri_idx)

Source from the content-addressed store, hash-verified

3816
3817 // Build an array of (z, tri_idx)
3818 struct TriRef {
3819 double z;
3820 int tri_idx;
3821 };
3822 TriRef* tris = (TriRef*)IM_ALLOC(sizeof(TriRef) * tri_count);
3823 for (int i = 0; i < tri_count; i++) {
3824 tris[i].z = ZBuffer[i];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected