Point.rotate

giant.ray_tracer.shapes.point:

Point.rotate(rotation)[source]

This rotates the point into a new frame in place.

Only the location is rotated, since the point itself doesn’t have any orientation.

Parameters:

rotation (Rotation | Sequence | ndarray) – The rotation from the previous frame to the new frame. For possible inputs see the Rotation documentation.