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

infragram in GL doesn't accept JS Math.foo() functions #64

Open
jywarren opened this issue Jul 30, 2014 · 0 comments
Open

infragram in GL doesn't accept JS Math.foo() functions #64

jywarren opened this issue Jul 30, 2014 · 0 comments
Labels

Comments

@jywarren
Copy link

I tried Math.floor(R) but it got converted to:

float rr = r.r(r);

I think it probably happens around https://github.com/p-v-o-s/infragram-js/blob/master/public/infragram-gl.coffee#L113 but am not sure

I also know we have to get rid of .toLowerCase() and I'm getting rid of .toUpperCase() in the -js version, so that it doesn't turn Math into MATH.

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

1 participant