This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector3.Barycentric
Malware edited this page Dec 25, 2018
·
18 revisions
private public private public sealed struct.Vector3 Barycentric(private public sealed struct.Vector3 value1, private public sealed struct.Vector3 value2, private public sealed struct.Vector3 value3, float amount1, float amount2)
Returns a Vector3 containing the 3D Cartesian coordinates of a point specified in Barycentric coordinates relative to a 3D triangle.
private public void Barycentric(ref private public sealed struct.Vector3 value1, ref private public sealed struct.Vector3 value2, ref private public sealed struct.Vector3 value3, float amount1, float amount2, ref private public sealed struct.Vector3 result)
Returns a Vector3 containing the 3D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 3D triangle.
private public void Barycentric(private public sealed struct.Vector3 p, private public sealed struct.Vector3 a, private public sealed struct.Vector3 b, private public sealed struct.Vector3 c, ref float u, ref float v, ref float w)
Compute barycentric coordinates (u, v, w) for point p with respect to triangle (a, b, c) From : Real-Time Collision Detection, Christer Ericson, CRC Press 3.4 Barycentric Coordinates
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!