[][src]Function pbrt::core::geometry::spherical_direction

pub fn spherical_direction(
    sin_theta: Float,
    cos_theta: Float,
    phi: Float
) -> Vector3f

Calculate appropriate direction vector from two angles.