]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fractalnoise.c
corrected spelling of alorgithm
[xonotic/darkplaces.git] / fractalnoise.c
index 4574902fa496379d920554fddf5022bf24f759fa..06d00db0eedbc805291b94771b13178d17bbcc42 100644 (file)
@@ -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)