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

Function Unitize

TSFlector2D.h:329–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 /// \related Flector2D
328
329 inline Flector2D Unitize(const Flector2D& F)
330 {
331 return (F * InverseSqrt(F.x * F.x + F.y * F.y));
332 }
333
334
335 // ==============================================

Callers

nothing calls this directly

Calls 1

InverseSqrtFunction · 0.85

Tested by

no test coverage detected