New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it build on linux + various fixes #333
base: master
Are you sure you want to change the base?
Conversation
comply with ISO C++
- use 'noexcept' for constexpr - allocate dynamic array - enable CAP_TEXTURE on CAP_ROGUEVIZ
Needed for 'default value of lambda parameter'
hyperpoint.cpp
Outdated
static constexpr ld golden_phi = noexcept((sqrt(5)+1)/2); | ||
static constexpr ld log_golden_phi = noexcept(log(golden_phi)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably obvious to @zenorogue, but just in case: obviously don't merge this change, unless you're OK with golden_phi
becoming 0.0
. 😛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wait. It's 1
for me. Why?
I have no idea why I added this.
The
EX
macro is messing with the code, so I deleted one.Everything else should be self-explanatory.