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

slider widget '-' not recognized as float sign if no 0 before decimal #32

Open
MacroMachines opened this issue Mar 28, 2018 · 1 comment

Comments

@MacroMachines
Copy link

Was on the shapes page http://thebookofshaders.com/07/
editing the polar curve design just above the bottom triangle, uncommented the line
"// f = smoothstep(-.5,1., cos(a*10.))*0.2+0.5;"
and edited the "-.5" with the slider widget, got an error when it went positive and back negative again, the slider widget added another "-" sign and a 0 before the '-.5' resulting in '--0.5'

also side note - japanese dude is making a interesting webgl editor using this repo called 'shaderninja'
http://www.shallway.ninja/shaderninja_editor

@alijaya
Copy link
Contributor

alijaya commented May 1, 2018

I think it has been resolved? :-?... I can't reproduce it

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

2 participants