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.
target
The target vector that is used to store the method's result.