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

Method RendererLineStripSkip

implot3d_items.cpp:464–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462
463template <class _Getter, class _GetterColor> struct RendererLineStripSkip : RendererBase {
464 RendererLineStripSkip(const _Getter& getter, const _GetterColor& col_getter, float weight)
465 : RendererBase(getter.Count - 1, 6, 4), Getter(getter), ColGetter(col_getter), HalfWeight(ImMax(1.0f, weight) * 0.5f) {
466 // Initialize the first point in plot coordinates
467 P1_plot = Getter(0);
468 }
469
470 void Init(ImDrawList3D& draw_list_3d) const { GetLineRenderProps(draw_list_3d, HalfWeight, UV0, UV1); }
471

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected