]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - curves.c
Tomaz cleaned up some double ;; lines (strange stuff)
[xonotic/darkplaces.git] / curves.c
index a94dc71c85779fb8f5fabde15a62868c82833039..835be2cc9270a88f85ffcc644f69ac5d94c7f6ac 100644 (file)
--- a/curves.c
+++ b/curves.c
@@ -221,7 +221,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                                // fetch next control point
                                                next = out[((y + ystep) * outwidth + x) * components + c];
                                                // flatten central control point 
-                                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                                                // create following midpoint
                                                out[((y + halfstep) * outwidth + x) * components + c] = (curr + next) * 0.5f;
                                        }
@@ -244,7 +244,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                // fetch next control point 
                                next = out[(y * outwidth + (x + xstep)) * components + c];
                                // flatten central control point 
-                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                        }
                }
        }
@@ -262,7 +262,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                // fetch next control point 
                                next = out[((y + ystep) * outwidth + x) * components + c];
                                // flatten central control point 
-                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                        }
                }
        }