Browse Source

Typo

A colon shold be used instead of + to separate function variables
Dan Bolsun 9 years ago
parent
commit
6dca41d021
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reference/shading_language.rst

+ 1 - 1
reference/shading_language.rst

@@ -130,7 +130,7 @@ uniforms or other shader variables.
         return a+b;
         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
 Built-in functions
 ------------------
 ------------------