Skip to main content

barycentric

Function barycentric 

Source
pub fn barycentric(p: Vec3, a: Vec3, b: Vec3, c: Vec3) -> Vec3
Expand description

Barycentric coordinates of point P in triangle ABC.