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

Change float, int, etc from prefix to regular call. #1

Closed
source-of-truth bot opened this Issue May 12, 2018 · 1 comment

Comments

Projects
None yet
0 participants
@source-of-truth
Copy link

source-of-truth bot commented May 12, 2018

Right now the cast functions use the C-like prefix notation (float)x. GLSL
doesn't seem to support this though, preferring float(x). Change this.

gristle/src/Gristle/GLSL.hs

Lines 378 to 380 in 0f74a5d

-- TODO: Change float, int, etc from prefix to regular call.
-- Right now the cast functions use the C-like prefix notation `(float)x`. GLSL
-- doesn't seem to support this though, preferring `float(x)`. Change this.

@source-of-truth

This comment has been minimized.

Copy link
Author

source-of-truth bot commented May 23, 2018

@source-of-truth source-of-truth bot closed this May 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment