You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
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/
The text was updated successfully, but these errors were encountered: