doyubkim / fluid-engine-dev

Fluid simulation engine for computer graphics applications
https://fluidenginedevelopment.org/
MIT License
1.88k stars 263 forks source link

About the local method in the surface_to_implicit #324

Open LILKOTYO opened 2 years ago

LILKOTYO commented 2 years ago

According to my understanding, the otherPoint in the function SurfaceToImplicit2::closestNormalLocal is a point described by local coordinates. while the code use _surface->closestNormal(otherPoint), which treats this otherPoint as a point in the world coordinate system, perform a localization and then calculate the normal

doyubkim commented 2 years ago

Thanks, I'll take a look!