Shape.rotate

giant.ray_tracer.shapes.shape:

Shape.rotate()

This method rotates the shape in place.

Parameters:

rotation (Union[Rotation, ARRAY_LIKE]) – The rotation to be applied as a numpy array representing a rotation (see Rotation for possible representations) or a Rotation object itself.