]> git.tdb.fi Git - libs/gl.git/blobdiff - scripts/builtin_funcs.py
Fix incorrect definition of the builtin cross function in GLSL
[libs/gl.git] / scripts / builtin_funcs.py
index 24cc3643c418eb6a7b106b7be609dd5c7977af8b..3825cb2b216f5e81204d8e8bcfd9fa28e3a00aa0 100755 (executable)
@@ -114,7 +114,7 @@ shared_funcs = [
        ("T::Base length(T x)", floattypes),
        ("T::Base distance(T p0, T p1)", floattypes),
        ("T::Base dot(T x, T y)", floattypes),
-       "vec3 cross(vec3 x)",
+       "vec3 cross(vec3 x, vec3 y)",
        ("T normalize(T x)", floattypes),
        ("T faceforward(T N, T I, T Nref)", floattypes),
        ("T reflect(T I, T N)", floattypes),