g++ on macOS didn't like using doubles as ints so I manually casted them when needed.
It compiles now on Linux and macOS from the same source.
It would probably work on BSD too but I dont use BSD so I cant test that.
I also added instructions for compiling on Linux and macOS in README.md
g++ on macOS didn't like using doubles as ints so I manually casted them when needed. It compiles now on Linux and macOS from the same source. It would probably work on BSD too but I dont use BSD so I cant test that. I also added instructions for compiling on Linux and macOS in README.md