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 (Rotation | Sequence | ndarray) – how we are to rotate the current frame/location