A colon shold be used instead of + to separate function variables
This commit is contained in:
Dan Bolsun
2016-03-03 15:15:49 +03:00
parent f98e94d610
commit 6dca41d021
+1 -1
View File
@@ -130,7 +130,7 @@ uniforms or other shader variables.
return a+b;
}
vec3 c = addtwo(vec3(1,1,1) + vec3(2,2,2));
vec3 c = addtwo(vec3(1,1,1), vec3(2,2,2));
Built-in functions
------------------