Function rustracer::shape::sphere_point_to_uv
source · fn sphere_point_to_uv(point: Point) -> Vector2D
Expand description
Returns parametrization coordinates of a point on a sphere.
The sphere’s surface is parametrized by two angles that correspond to latitude and longitude.