Function rustracer::shape::plane_point_to_uv
source · fn plane_point_to_uv(point: Point) -> Vector2D
Expand description
Returns parametrization coordinates of a point on a plane.
The plane is parametrized by the [0,1]x[0,1]
square with periodic boundary conditions.