kovasb / gamma

glsl shaders made simple
Eclipse Public License 1.0
306 stars 20 forks source link

should error on too many arguments to vec4 #32

Open jaredly opened 8 years ago

jaredly commented 8 years ago

I spent a while chasing a bug which turned out to be me thinking a vec4 was a vec3, and it would have tipped me off a lot sooner if (g/vec4 (g/vec4 1.0) 1.0) threw an error (currently it just silently ignores the extra argument)