X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=curves.c;h=154450de7cdd8b55e9493fbb065e10cc2795647a;hb=32c804dfbca9495b8d4bd40d07f289f8c890d813;hp=cf7569dba482a202a641553ed5a31fa59dc220c0;hpb=cfee52a1ec9db338098789cae89ae5cf1f7a6fbf;p=xonotic%2Fdarkplaces.git diff --git a/curves.c b/curves.c index cf7569db..154450de 100644 --- a/curves.c +++ b/curves.c @@ -1,6 +1,6 @@ /* -this code written by Forest Hale, on 2004-10-17, and placed into public domain +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 a small rant on misuse of the name 'bezier': many people seem to think that @@ -277,7 +277,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 +337,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;