-
Notifications
You must be signed in to change notification settings - Fork 20
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
gamma.api/* doesn't work with mat4 #3
Comments
Looks like this got broken in a recent commit. Need to fix arithmetic-type, probably refactor all the operator inference logic. Definitely need more tests but its rather laborious given the surface area and number of layers... |
Just making sure, I'll comment out the arithmetic checks for the time being then. |
it also does inference, which is necessary for declaring locals (should they be needed) |
fixed as of 163eed9 |
opening a new issue on the general topic #4 until this is more thorough. |
In the spirit of every gl-lib, I'm porting http://learningwebgl.com/blog/?p=28 over to gamma. Ran into an issue with the first example vertex shader:
Which I believe the equivalent gamma is:
But this results in:
Uncaught Error: Arguments to * must have type :int or :float, given :mat4 and :vec4
The text was updated successfully, but these errors were encountered: