Vector3Barycenter method

Vector3C Vector3Barycenter(
  1. Vector3C p,
  2. Vector3C a,
  3. Vector3C b,
  4. Vector3C c,
)

Compute barycenter coordinates (u, v, w) for point p with respect to triangle (a, b, c)

NOTE: Assumes P is on the plane of the triangle

Implementation

Vector3C Vector3Barycenter(Vector3C p, Vector3C a, Vector3C b, Vector3C c)
  => _Vector3Barycenter(p, a, b, c);