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

Chapter 05 "no matching overloaded function found" for exp, log, and sqrt #417

Open
jbaylies opened this issue Mar 26, 2024 · 0 comments
Open

Comments

@jbaylies
Copy link

Chapter 05 states:

Replace the power function on line 22. Try other ones like: exp(), log() and sqrt(). Some of these functions are more interesting when you play with them using PI. You can see on line 8 that I have defined a macro that will replace any use of PI with the value 3.14159265359.

but trying exp, log, and sqrt all error: "no matching overloaded function found"

macOS 14.3.1 // firefox, chrome, & glslViewer

https://thebookofshaders.com/05/

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

No branches or pull requests

1 participant