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

Method LengthSquared

implot3d.cpp:3488–3488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3486double ImPlot3DPoint::Length() const { return sqrt(x * x + y * y + z * z); }
3487
3488double ImPlot3DPoint::LengthSquared() const { return x * x + y * y + z * z; }
3489
3490void ImPlot3DPoint::Normalize() {
3491 double l = Length();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected