MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / Magnitude

Function Magnitude

TSVector3D.h:550–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548 /// \related Vector3D
549
550 inline float Magnitude(const Vector3D& v)
551 {
552 return (Sqrt(v.x * v.x + v.y * v.y + v.z * v.z));
553 }
554
555 /// \brief Returns the inverse magnitude of the 3D vector $v$.
556 /// \related Vector3D

Callers

nothing calls this directly

Calls 1

SqrtFunction · 0.85

Tested by

no test coverage detected