b = รข
Normalises the 3-element vector a based on the given magnitude mag, and stores the result in b.
a
mag
b
This variant is useful if you already know the magnitude
a 3-element vector object
the magnitude
a 3-element vector in which to store the result
b as a normalised (based on mag)
Generated using TypeDoc
b = รขNormalises the 3-element vector
abased on the given magnitudemag, and stores the result inb.This variant is useful if you already know the magnitude