-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector2.Barycentric
csharp[Vector2](VRageMath.Vector2) Barycentric([Vector2](VRageMath.Vector2) value1, [Vector2](VRageMath.Vector2) value2, [Vector2](VRageMath.Vector2) value3, [float](System.Single) amount1, [float](System.Single) amount2)##### Summary
Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.
csharpvoid Barycentric(ref [Vector2](VRageMath.Vector2) value1, ref [Vector2](VRageMath.Vector2) value2, ref [Vector2](VRageMath.Vector2) value3, [float](System.Single) amount1, [float](System.Single) amount2, ref [Vector2](VRageMath.Vector2) result)##### Summary
Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!