getBarycoord
Computes a barycentric coordinates from the given vector. Returns null if the triangle is degenerate.
Return
The barycentric coordinates for the given point, or null if degenerate.
Parameters
point
A point in 3D space.
a
The first corner of the triangle.
b
The second corner of the triangle.
c
The third corner of the triangle.
target
The target vector that is used to store the method's result.