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

Method GetterMeshTriangles

implot3d_items.cpp:1004–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002
1003template <typename TGX, typename TGY, typename TGZ> struct GetterMeshTriangles {
1004 GetterMeshTriangles(TGX gx, TGY gy, TGZ gz, const unsigned int* idx, int idx_count)
1005 : Gx(gx), Gy(gy), Gz(gz), Idx(idx), TriCount(idx_count / 3), Count(idx_count) {}
1006
1007 template <typename I> IMPLOT3D_INLINE ImPlot3DPoint operator()(I i) const {
1008 unsigned int vi = Idx[i];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected