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

Add constants to Math.hpp #111

Closed
IohannRabeson opened this issue Jun 20, 2015 · 3 comments
Closed

Add constants to Math.hpp #111

IohannRabeson opened this issue Jun 20, 2015 · 3 comments
Assignees
Labels

Comments

@IohannRabeson
Copy link
Collaborator

Pi, Pi / 2, Pi / 4, Pi * 2, and angle conversions function deg2rad and rad2deg.

@jbalestr42
Copy link
Collaborator

Pour les conversion deg2rad, tu vas pouvoir le faire à la compilation comme tu as fais pour les pow ?

@IohannRabeson
Copy link
Collaborator Author

comment ça comme les pow?

@jbalestr42
Copy link
Collaborator

les pow template que tu as fais, pow<2> qui se font à la compilation, mais du coup c'est que dans le cas ou tu écrit la valeur directement, sinon forcement le compilateur ne peut pas savoir quoi calculer, du coup ça ne sert à rien.

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

No branches or pull requests

2 participants