X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=curves.c;h=de4e89c7d70cef5b1ee40fe67191ccdb72f12f5f;hb=697da87440cb50b17feea1c256b48c73434bcb89;hp=66b72734d72c2605bf01b98757d68b6b4a5177e0;hpb=a6260629d2dbe98351a8c55f197c721894046857;p=xonotic%2Fdarkplaces.git diff --git a/curves.c b/curves.c index 66b72734..de4e89c7 100644 --- 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)