triangle
                                
                                 triangle copied to clipboard
                                
                                    triangle copied to clipboard
                            
                            
                            
                        compilation issue
The makefile has triangle.c but the code has triangle.cpp? Am I missing something?
ah, that's the original makefile from the mirror. Maybe it should just be deleted. This repo is setup to use cmake. It's mostly intended as part of the automated build for libigl.
you should be able to build it with
mkdir build
cd build
cmake ..
make
@alecjacobson Thanks. Please do delete the makefile. Any chance, do you know if I can intersect a segment with a polygon using libigl? If yes, what code should I be looking at?
I was caught in the same trap. It would be appreciated if you could clean up the repository.
An update to the README file to document the new build process would also be welcome.
Thank you!