Whitespace fix in the output. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 03 Apr 2008 08:33:55 -0400
branchtrunk
changeset 71 21354bd7531a
parent 70 e1e19abca250
child 72 b193a3182dcd
Whitespace fix in the output.
mojoshader.c
--- a/mojoshader.c	Thu Apr 03 08:31:31 2008 -0400
+++ b/mojoshader.c	Thu Apr 03 08:33:55 2008 -0400
@@ -1755,9 +1755,9 @@
     const char *row3 = make_GLSL_sourcearg_string(ctx, 4);
 
     const char *code = make_GLSL_destarg_assign(ctx, 0,
-                                "vec4(dot(vec3(%s), vec3(%s)),"
-                                     "dot(vec3(%s), vec3(%s)),"
-                                     "dot(vec3(%s), vec3(%s)),"
+                                "vec4(dot(vec3(%s), vec3(%s)), "
+                                     "dot(vec3(%s), vec3(%s)), "
+                                     "dot(vec3(%s), vec3(%s)), "
                                      "dot(vec3(%s), vec3(%s)))",
                                 src0, row0, src0, row1,
                                 src0, row2, src0, row3);
@@ -1772,8 +1772,8 @@
     const char *row1 = make_GLSL_sourcearg_string(ctx, 2);
     const char *row2 = make_GLSL_sourcearg_string(ctx, 3);
     const char *code = make_GLSL_destarg_assign(ctx, 0,
-                                "vec3(dot(vec3(%s), vec3(%s)),"
-                                     "dot(vec3(%s), vec3(%s)),"
+                                "vec3(dot(vec3(%s), vec3(%s)), "
+                                     "dot(vec3(%s), vec3(%s)), "
                                      "dot(vec3(%s), vec3(%s)))",
                                 src0, row0, src0, row1, src0, row2);
     output_line(ctx, "%s", code);
@@ -1787,7 +1787,7 @@
     const char *row1 = make_GLSL_sourcearg_string(ctx, 2);
 
     const char *code = make_GLSL_destarg_assign(ctx, 0,
-                                "vec3(dot(vec3(%s), vec3(%s)),"
+                                "vec3(dot(vec3(%s), vec3(%s)), "
                                      "dot(vec3(%s), vec3(%s)))",
                                 src0, row0, src0, row1);
     output_line(ctx, "%s", code);