Function rs_pbrt::core::geometry::spherical_direction
source · pub fn spherical_direction(
sin_theta: Float,
cos_theta: Float,
phi: Float
) -> Vector3f
Expand description
Calculate appropriate direction vector from two angles.