Skip to main content

normal

Function normal 

Source
pub fn normal(surface: &Surface, u: f64, v: f64) -> Result<DVec3, GeomError>
Expand description

Unit normal at (u, v).

Computed from the exact analytic partial derivatives rather than by differencing evaluated points: a finite difference loses precision exactly where it matters most, at high curvature.