-
Documented another method for ray-triangle intersection,
where the barycentric coefficients will also be calculated and
passed back. Through the math I realized that writing a
Gaussian Elimination function is necessary. However, such a
function will take time to be properly tested.
-
Instead, will just have another function that takes in the
triangle and the intersection point and calculates the
barycentric coefficients. |