-
Notifications
You must be signed in to change notification settings - Fork 285
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
Feedback on #461 #506
Feedback on #461 #506
Conversation
…ART[Core]Config.cmake.in
… and use override specifier
…ct with Configuration class
include("${CURRENT_DIR}/DARTTargets.cmake") | ||
|
||
# Retrun absolute path of the library instead of just library name as |
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.
Return
…ve unnecessary empty line
else | ||
return 1; | ||
template <typename T> inline constexpr | ||
int sgn(T x, std::false_type) |
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.
I think my personal preference would be to name the function sign
, because it only adds one letter and makes the purpose of the function completely obvious (whereas sgn
could be an acronym for something else).
That being said, I don't object to using sgn
.
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.
I considered to change it to signum
with similar reason but just put it off. sign
seems more clear and neat one than signum
. I will change it to sign
and deprecate sgn
.
The changes look good. I also compiled and tested each of the osg examples, and they're all still working just fine. 👍 |
Thanks! Merging this to the original branch. |
No description provided.