InteractiveComputerGraphics/Discregrid

some problem in mesh_distance.cpp

Rouen007 opened this issue · 2 comments

when i peek the source code in geometry/mesh_distance.cpp, i got some questions.
image
If dmr is lower then 0.0, the code "if (dmr > d_center)" would never be conducted.

And i could figure out the physical meaning of the variables like temp_ and dist_candiate in the piece of code.

Thank you very much.

Thank you for pointing out this issue. The function has been refactored and a comment explaining what it does has been added to the sourcecode.

Thank you very much.