Function piston_window::math::from_barycentric [−][src]
pub fn from_barycentric<T>(triangle: [[T; 2]; 3], lambda: [T; 3]) -> [T; 2] where
T: Float,
Transforms from barycentric coordinates to cartesian.
pub fn from_barycentric<T>(triangle: [[T; 2]; 3], lambda: [T; 3]) -> [T; 2] where
T: Float,
Transforms from barycentric coordinates to cartesian.