Skip to main content

barycentric

Function barycentric 

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

Barycentric coordinates of point P in triangle (A, B, C)