Recently I'm working on implementing FPS algorithms in single-thread CPU program.
This work shows an excellent performance compared to the majority of other implementations.
However, I inspect all of the codes and notice that the code style is terrible. It's generally hard to port the code to other applications directly. For example:
Hard-coded float type for coordinates.
Hard-coded dimension as 3.
Abuse of macros.
Not found any of C++17 features, even though the paper has mentioned that C++17 is used.