| 652 | struct Fitter1 { |
| 653 | Fitter1(const _Getter1& getter) : Getter(getter) { } |
| 654 | void Fit(ImPlotAxis& x_axis, ImPlotAxis& y_axis) const { |
| 655 | for (int i = 0; i < Getter.Count; ++i) { |
| 656 | ImPlotPoint p = Getter(i); |
| 657 | x_axis.ExtendFitWith(y_axis, p.x, p.y); |
| 658 | y_axis.ExtendFitWith(x_axis, p.y, p.x); |
| 659 | } |
| 660 | } |
| 661 | const _Getter1& Getter; |
| 662 | }; |
| 663 |
no test coverage detected