ilyanikolaevsky / navmesh

A small and fast C++ library for building shortest paths in 2D space with convex polygonal obstacles
BSD 3-Clause "New" or "Revised" License
81 stars 14 forks source link

Fix compiling on Linux, revisit project structure #4

Closed CodeFinder2 closed 1 year ago

CodeFinder2 commented 1 year ago

Thanks for the library and for taking a look at my PR! :-)

ilyanikolaevsky commented 1 year ago

Thanks for the change. However, I'm against the new project structure. I'm more fond of headers and cpp files staying together.

Could you please revert the changes around "include" directory? I'll approve everything else gladly.

ilyanikolaevsky commented 1 year ago

Also, please update the readme.md file (the section describing the code structure).

CodeFinder2 commented 1 year ago

I've reverted my last commit containing the structural changes. There's then no need for updating the README. (If there is still and I am missing something, please let me know!) ;-)

However, you should really take a look at modern C++/CMake projects and their structure and consider moving to that new structure since the current version is very "custom". See e.g., https://github.com/TheLartians/ModernCppStarter

Nonetheless, thanks for taking a look and merging the rest! :-)

ilyanikolaevsky commented 1 year ago

Thanks for the PR, once again!