rotate
Rotates the current direction based on the given DirRotate direction.
Return
The new DirYZ direction after rotation.
Parameters
dir Rotate
The direction to rotate (DirRotate.CLOCKWISE or DirRotate.COUNTERCLOCKWISE).
Rotates the current direction based on the given DirRotate direction.
The new DirYZ direction after rotation.
The direction to rotate (DirRotate.CLOCKWISE or DirRotate.COUNTERCLOCKWISE).