The mesh flow project for mesh simplification.
git clone --recurse-submodules https://github.com/csyzzkdcz/mesh_flow.git
cd mesh_flow
mkdir build
cd build
cmake ..
make -j4
these codes doesn't work on Apple with M1 chips (the sign_distance was broken on M1 according to libigl/libigl#1686 (comment))