Function rs_pbrt::core::reflection::reflect

source ·
pub fn reflect(wo: &Vector3f, n: &Vector3f) -> Vector3f
Expand description

Computes the reflection direction given an incident direction and a surface normal.