Skip to content

VRageMath.Vector4.Barycentric

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexVector4

Summary

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

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

Returns

Vector4

Parameters

Summary

public static void Barycentric(ref Vector4 value1, ref Vector4 value2, ref Vector4 value3, float amount1, float amount2, out Vector4 result)

Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in Barycentric (areal) coordinates relative to a 4D triangle.

Parameters

Clone this wiki locally