hjwdzh / Manifold

Convert any Triangle Mesh to Watertight Manifold
Other
576 stars 77 forks source link

Closest Point #2

Closed 461353349 closed 5 years ago

461353349 commented 5 years ago

In the function Model_OBJ::Closest_Point( const glm::dvec3 *triangle, const glm::dvec3 &sourcePosition ), We classify closest point according (s + t < det ) and sign(s) , sign(r), sign(d). I cannot catch them, Could you give me some guidance on it? Thank you!