SceneObject.rotate

giant.ray_tracer.scene:

SceneObject.rotate(rotation)[source]

Update the orientation of the frame the object and its location are expressed in.

Parameters

rotation (Union[giant.rotations.Rotation, Sequence, numpy.ndarray]) – how we are to rotate the current frame/location