MCPcopy Create free account
hub / github.com/clementgallet/libTAS / Fit

Method Fit

src/external/imgui/implot_items.cpp:654–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652struct 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

Callers 1

BeginItemExFunction · 0.45

Calls 1

ExtendFitWithMethod · 0.80

Tested by

no test coverage detected