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