Rays.translate

giant.ray_tracer.rays:

Rays.translate(translation)[source]

Translates the start location(s) of the ray(s) in place.

The directions are not affected by this method.

Parameters

translation (Union[Sequence, numpy.ndarray]) – an array like vector