Function graphics::math::to_barycentric
[−]
[src]
pub fn to_barycentric(triangle: Triangle, pos: Vec2d) -> Vec3d
Transforms from cartesian coordinates to barycentric.