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

Function Unitize

TSConformal3D.h:1222–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220 /// \related RoundPoint3D
1221
1222 inline RoundPoint3D Unitize(const RoundPoint3D& a)
1223 {
1224 float n = 1.0F / a.w;
1225 return (RoundPoint3D(a.x * n, a.y * n, a.z * n, 1.0F, a.u * n));
1226 }
1227
1228 /// \brief Calculates the unitized equivalent of a 3D dipole.
1229 ///

Callers

nothing calls this directly

Calls 3

RoundPoint3DClass · 0.85
InverseSqrtFunction · 0.85
Sphere3DClass · 0.85

Tested by

no test coverage detected