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 (Sequence | ndarray) – an array like vector