iarri / Shadertoy2GM

This javascript webapp converts GLSL code from shadertoy.com to Gamemaker GLSL ES as well as output other necessary code to run.
https://iarri.github.io/Shadertoy2GM/
6 stars 2 forks source link

fix length() warning #3

Closed xotmatrix closed 4 years ago

xotmatrix commented 4 years ago

The length() warning should only trigger with the length() method, not the length() function. It is very helpful that they have the same name and do totally different things. I believe they can be distinguished simply by looking for the . method syntax.