Rotates the agent’s orientation clockwise by angle, which will be understood as either degrees or radians depending on the value of baseAgent.angleUnit.
Agents of any primitive can be rotated, except patches, which have no orientation and will raise a RuntimeError.
Parameters
angle — num, required
The number of degrees or radians to rotate the agent.
Notes and Examples