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

VRageMath.Vector2.Barycentric

Malware edited this page Dec 25, 2018 · 19 revisions

IndexVector2

Summary

public public sealed struct Vector2 Barycentric(public sealed struct Vector2 value1, public sealed struct Vector2 value2, public sealed struct Vector2 value3, float amount1, float amount2)

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

Returns

Example

Remarks

Summary

public void Barycentric(ref public sealed struct Vector2 value1, ref public sealed struct Vector2 value2, ref public sealed struct Vector2 value3, float amount1, float amount2, ref public sealed struct Vector2 result)

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

Returns

Example

Remarks

Clone this wiki locally