]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
corrected spelling of alorgithm
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Aug 2002 22:47:31 +0000 (22:47 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Aug 2002 22:47:31 +0000 (22:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2266 d7cf8633-e32d-0410-b094-e92efae38249

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)