Replace Direction.rotate with implicit DirectionArithmetic, rename directionToPoint to directionToPixel