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

Function SquaredMag

TSVector3D.h:566–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564 /// \related Vector3D
565
566 inline float SquaredMag(const Vector3D& v)
567 {
568 return (v.x * v.x + v.y * v.y + v.z * v.z);
569 }
570
571 /// \brief Calculates the normalized version of the 3D vector $v$.
572 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected