Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector4D.Barycentric

Malware edited this page Dec 25, 2018 · 19 revisions

IndexVector4D

csharp[Vector4D](VRageMath.Vector4D) Barycentric([Vector4D](VRageMath.Vector4D) value1, [Vector4D](VRageMath.Vector4D) value2, [Vector4D](VRageMath.Vector4D) value3, [double](System.Double) amount1, [double](System.Double) amount2)##### Summary

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

csharpvoid Barycentric(ref [Vector4D](VRageMath.Vector4D) value1, ref [Vector4D](VRageMath.Vector4D) value2, ref [Vector4D](VRageMath.Vector4D) value3, [double](System.Double) amount1, [double](System.Double) amount2, ref [Vector4D](VRageMath.Vector4D) result)##### Summary

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

Clone this wiki locally