| 424 | |
| 425 | template <class _Getter, class _GetterColor> struct RendererLineStrip : RendererBase { |
| 426 | RendererLineStrip(const _Getter& getter, const _GetterColor& col_getter, float weight) |
| 427 | : RendererBase(getter.Count - 1, 6, 4), Getter(getter), ColGetter(col_getter), HalfWeight(ImMax(1.0f, weight) * 0.5f) { |
| 428 | // Initialize the first point in plot coordinates |
| 429 | P1_plot = Getter(0); |
| 430 | } |
| 431 | |
| 432 | void Init(ImDrawList3D& draw_list_3d) const { GetLineRenderProps(draw_list_3d, HalfWeight, UV0, UV1); } |
| 433 |
nothing calls this directly
no outgoing calls
no test coverage detected