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

support asinpi #84

Closed
dneto0 opened this issue Oct 16, 2017 · 1 comment
Closed

support asinpi #84

dneto0 opened this issue Oct 16, 2017 · 1 comment
Projects

Comments

@dneto0
Copy link
Collaborator

dneto0 commented Oct 16, 2017

No description provided.

@dneto0 dneto0 added this to In progress in General Oct 16, 2017
@dneto0
Copy link
Collaborator Author

dneto0 commented Oct 16, 2017

Sadly, GLSL.std.450 doesn't have asinpi. We have to compute this as sin(x) / Pi or faster as sin(x) * One_over_pi.

We can use OneOverPi = 0.318309886183790671538 (value is from https://msdn.microsoft.com/en-us/library/4hwaceh6.aspx)

dneto0 added a commit to dneto0/clspv that referenced this issue Oct 16, 2017
@dneto0 dneto0 moved this from In progress to Done in General Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
General
  
Done
Development

No branches or pull requests

1 participant