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

Method SetRange

implot3d.cpp:3987–3991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3985}
3986
3987void ImPlot3DPlot::SetRange(const ImPlot3DPoint& min, const ImPlot3DPoint& max) {
3988 Axes[0].SetRange(min.x, max.x);
3989 Axes[1].SetRange(min.y, max.y);
3990 Axes[2].SetRange(min.z, max.z);
3991}
3992
3993float ImPlot3DPlot::GetViewScale() const {
3994 return ImMin(PlotRect.GetWidth(), PlotRect.GetHeight()) / 1.8f * ImPlot3D::GImPlot3D->Style.ViewScaleFactor;

Callers 2

SetupAxisLimitsFunction · 0.45
HandleInputFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected