VRageMath.Vector2D.Barycentric - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexVector2D

Summary

public static Vector2D Barycentric(Vector2D value1, Vector2D value2, Vector2D value3, double amount1, double amount2)

Returns a Vector2D containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.

Returns

Vector2D

Parameters

Summary

public static void Barycentric(ref Vector2D value1, ref Vector2D value2, ref Vector2D value3, double amount1, double amount2, out Vector2D result)

Returns a Vector2D containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.

Parameters

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