| 462 | |
| 463 | template <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 |
nothing calls this directly
no outgoing calls
no test coverage detected