Skip to content
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

Merged
merged 33 commits into from
Sep 29, 2015
Merged

Feedback on #461 #506

merged 33 commits into from
Sep 29, 2015

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Sep 28, 2015

No description provided.

@jslee02 jslee02 added this to the DART 5.1.0 milestone Sep 28, 2015
include("${CURRENT_DIR}/DARTTargets.cmake")

# Retrun absolute path of the library instead of just library name as
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return

else
return 1;
template <typename T> inline constexpr
int sgn(T x, std::false_type)
Copy link
Member

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.

Copy link
Member Author

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.

@jslee02
Copy link
Member Author

jslee02 commented Sep 29, 2015

I think I've made all the changes based on the discussion in #461. @mxgrey Please let me know if this looks good to you when you have a chance.

@mxgrey
Copy link
Member

mxgrey commented Sep 29, 2015

The changes look good.

I also compiled and tested each of the osg examples, and they're all still working just fine.

👍

@jslee02
Copy link
Member Author

jslee02 commented Sep 29, 2015

Thanks! Merging this to the original branch.

jslee02 added a commit that referenced this pull request Sep 29, 2015
@jslee02 jslee02 merged commit 68d5d27 into grey/osg Sep 29, 2015
@jslee02 jslee02 deleted the grey/osg_js branch October 23, 2015 06:21
@jslee02 jslee02 changed the title [WIP] Feedback on #461 Feedback on #461 Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants