withRotation90
Returns a vector of same length rotated by 90 degrees in the given direction
Parameters
direction
positive value means toward positive y-axis (typically counter-clockwise). Negative value means toward negative y-axis (typically clockwise).