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 4574902..06d00db 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)