]> git.tdb.fi Git - libs/gl.git/blobdiff - builtin_data/_builtin.glsl
Fix incorrect definition of the builtin cross function in GLSL
[libs/gl.git] / builtin_data / _builtin.glsl
index 124a117b120397ec6a56d1345080f6a175eddce7..3bf722cd441b13a627d58e8b8cb85b9841fd5ef8 100644 (file)
@@ -268,7 +268,7 @@ float dot(float x, float y);
 float dot(vec2 x, vec2 y);
 float dot(vec3 x, vec3 y);
 float dot(vec4 x, vec4 y);
-vec3 cross(vec3 x);
+vec3 cross(vec3 x, vec3 y);
 float normalize(float x);
 vec2 normalize(vec2 x);
 vec3 normalize(vec3 x);