Original Post
Given one normalized 2D vector, how can I get the vector that is rotated 90 degrees to the right about the z-axis? So given a vector of (0, 1), how would I get the vector (1, 0)? I used to know how to do this... something like: Vector2D right = Vector2D(Cos(dirToTarg.y), -Sin(dirToTarg.x)); That's not right but I think it's close..