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

Function Unitize

TSMotor2D.h:373–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 /// \related Motor2D
372
373 inline Motor2D Unitize(const Motor2D& Q)
374 {
375 return (Q * InverseSqrt(Q.z * Q.z + Q.w * Q.w));
376 }
377
378
379 // ==============================================

Callers

nothing calls this directly

Calls 1

InverseSqrtFunction · 0.85

Tested by

no test coverage detected