X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=curves.c;h=1d9b2941934ebcc0ecb947f6dfce267a01dd3654;hp=58ce43d024a12af101921901f9e1362d0d6ae889;hb=f847004b9818defbfd4bf15fe7b891fee2706079;hpb=48669036b4be979d997c27227942ed9c430277d5 diff --git a/curves.c b/curves.c index 58ce43d0..1d9b2941 100644 --- a/curves.c +++ b/curves.c @@ -1,4 +1,3 @@ - /* this code written by Ashley Rose Hale (LadyHavoc), on 2004-10-17, and placed into public domain this implements Quadratic BSpline surfaces as seen in Quake3 by id Software @@ -277,7 +276,7 @@ static int FindEqualOddVertexInArray(int numcomponents, float *vertex, float *ve { for (x=0; x 0.05) // div0: this is notably smaller than the smallest radiant grid @@ -337,7 +336,7 @@ int Q3PatchAdjustTesselation(int numcomponents, patchinfo_t *patch1, float *patc struct {int id1,id2;} commonverts[8]; int i, j, k, side1, side2, *tess1, *tess2; int dist1 = 0, dist2 = 0; - qboolean modified = false; + qbool modified = false; // Potential paired vertices (corners of the first patch) commonverts[0].id1 = 0;