SceneObject.translate

giant.ray_tracer.scene:

SceneObject.translate(translation)[source]

Update the location of the object in the current frame by adding a vector to the current location.

Parameters

translation (Union[Sequence, numpy.ndarray]) – The vector to add to the current vector