X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=fractalnoise.c;h=06d00db0eedbc805291b94771b13178d17bbcc42;hb=502a14e6fb23e7d9425620b2b066de992922a0ce;hp=73f122eca95a2414ce12e04448adcd4f4b901f0d;hpb=c4ee1bbcc6b2f917465f07269ad09942bbf40849;p=xonotic%2Fdarkplaces.git diff --git a/fractalnoise.c b/fractalnoise.c index 73f122ec..06d00db0 100644 --- a/fractalnoise.c +++ b/fractalnoise.c @@ -32,7 +32,7 @@ void fractalnoise(qbyte *noise, int size, int startgrid) g = g2 >> 1; if (g) { - // subdivide, diamond-square algorythm (really this has little to do with squares) + // subdivide, diamond-square algorithm (really this has little to do with squares) // diamond for (y = 0;y < size;y += g2) for (x = 0;x < size;x += g2) @@ -94,7 +94,7 @@ void fractalnoisequick(qbyte *noise, int size, int startgrid) g = g2 >> 1; if (g) { - // subdivide, diamond-square algorythm (really this has little to do with squares) + // subdivide, diamond-square algorithm (really this has little to do with squares) // diamond for (y = 0;y < size;y += g2) for (x = 0;x < size;x += g2) @@ -110,3 +110,4 @@ void fractalnoisequick(qbyte *noise, int size, int startgrid) } #undef n } +