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 (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – an array like vector

Return type:

Self