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

Revisit opportunities for defined constants #217

Closed
hollasch opened this issue Oct 19, 2019 · 1 comment
Closed

Revisit opportunities for defined constants #217

hollasch opened this issue Oct 19, 2019 · 1 comment
Assignees
Milestone

Comments

@hollasch
Copy link
Collaborator

There are many places where we use, for example, 180.0 / pi to convert between radians and degrees, or pi/4.0. When sensible, replace these with constants or utility functions defined in rtweekend.h.

@hollasch
Copy link
Collaborator Author

Resolved in #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant