Function piston_window::math::from_barycentric

source ยท
pub fn from_barycentric<T>(triangle: [[T; 2]; 3], lambda: [T; 3]) -> [T; 2]
where T: Float,
Expand description

Transforms from barycentric coordinates to cartesian.