libdaque ~master (2018-08-15T06:36:18Z)
Dub
Repo
normalize
daque
math
geometry
Undocumented in source.
R
[]
normalize
(
R
)
(
R
[]
v
)
out (result) { assert (approxEqual(magnitudeSquared(result.dup), 1), "Normalized vector wasn't unitary"); }
Meta
Source
See Implementation
daque
math
geometry
functions
cross
distance
dot
geometryTest
magnitude
magnitudeSquared
normalize