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

Function SquaredMag

TSVector4D.h:447–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445 /// \related Vector4D
446
447 inline float SquaredMag(const Vector4D& v)
448 {
449 return (v.x * v.x + v.y * v.y + v.z * v.z + v.w * v.w);
450 }
451
452 /// \brief Calculates the normalized version of the 4D vector $v$.
453 ///

Callers 2

SquaredBulkNormFunction · 0.70
SquaredWeightNormFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected