X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=fractalnoise.c;h=06d00db0eedbc805291b94771b13178d17bbcc42;hb=cafb444b9e7458bc652c7ad9036a19f3cd273b44;hp=4574902fa496379d920554fddf5022bf24f759fa;hpb=ea7c24e1fb41f3b1df984ac0eed6881c9fde16f5;p=xonotic%2Fdarkplaces.git diff --git a/fractalnoise.c b/fractalnoise.c index 4574902f..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)