VRageMath.MathHelper.Barycentric - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexMathHelper

Summary

public static float Barycentric(float value1, float value2, float value3, float amount1, float amount2)

Returns the Cartesian coordinate for one axis of a point that is defined by a given triangle and two normalized barycentric (areal) coordinates.

Returns

float

Parameters

⚠️ **GitHub.com Fallback** ⚠️