Sets the elements of the 2D vector b so it becomes perpendicular to the 2D vector a.
b
a
The direction of b with respect to a will be "to the right", i.e. rotated 90 degrees clockwise
a 2-element vector object
a 2-element vector in which to store the result
b as a vector perpendicular to a
Generated using TypeDoc
Sets the elements of the 2D vector
b
so it becomes perpendicular to the 2D vectora
.The direction of
b
with respect toa
will be "to the right", i.e. rotated 90 degrees clockwise