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

Method GetterLoop

implot3d_items.cpp:925–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923
924template <typename _Getter> struct GetterLoop {
925 GetterLoop(_Getter getter) : Getter(getter), Count(getter.Count + 1) {}
926 template <typename I> IMPLOT3D_INLINE ImPlot3DPoint operator()(I idx) const {
927 idx = idx % (Count - 1);
928 return Getter(idx);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected