Hello Lucas,
I got issues with compiling - seems that <math.h> inlcude was missing in mainloop.cpp.
BR, Marcin