Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Correct gl2d and gl3d tick angles [fixes #119] #131

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

Merged
merged 2 commits into from
Dec 17, 2015
Merged

Conversation

etpinard
Copy link
Contributor

this.tickAngle[i+j] = (ax.tickangle === 'auto') ? 0 : -ax.tickangle;
this.tickAngle[i+j] = (ax.tickangle === 'auto') ?
0 :
Math.PI * -ax.tickangle / 180;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you're like me, I find this way more explicit than having some degrees-to-radians lib function.

But, I'd be ok with adding a lib function if preferable.

Copy link
Member

Choose a reason for hiding this comment

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

I'm good w/ it here

@cldougl
Copy link
Member

cldougl commented Dec 17, 2015

💃

etpinard added a commit that referenced this pull request Dec 17, 2015
Correct gl2d and gl3d tick angles [fixes #119]
@etpinard etpinard merged commit 2112994 into master Dec 17, 2015
@etpinard etpinard deleted the gl-tickangle branch December 17, 2015 22:21
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