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

Function Unitize

TSFlector3D.h:474–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472 /// \related Flector3D
473
474 inline Flector3D Unitize(const Flector3D& F)
475 {
476 return (F * InverseSqrt(F.p.w * F.p.w + F.g.x * F.g.x + F.g.y * F.g.y + F.g.z * F.g.z));
477 }
478
479
480 // ==============================================

Callers

nothing calls this directly

Calls 1

InverseSqrtFunction · 0.85

Tested by

no test coverage detected