]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - curves.c
got rid of node->contents, leaf->contents kept (only needed temporarily during loadin...
[xonotic/darkplaces.git] / curves.c
index 66b72734d72c2605bf01b98757d68b6b4a5177e0..de4e89c7d70cef5b1ee40fe67191ccdb72f12f5f 100644 (file)
--- a/curves.c
+++ b/curves.c
@@ -47,7 +47,7 @@ double bsplinesample(int dimensions, double t, double *param)
 void Q3PatchTesselateFloat(int numcomponents, int outputstride, float *outputvertices, int patchwidth, int patchheight, int inputstride, float *patchvertices, int tesselationwidth, int tesselationheight)
 {
        int k, l, x, y, component, outputwidth = (patchwidth-1)*tesselationwidth+1;
-       float px, py, *v0, *v1, a, b, c, *cp[3][3], temp[3][64];
+       float px, py, *v, a, b, c, *cp[3][3], temp[3][64];
        // iterate over the individual 3x3 quadratic spline surfaces one at a time
        // expanding them to fill the output array (with some overlap to ensure
        // the edges are filled)