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