X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnoise.cpp;h=35057146da9c919c7bb8d90f64451bc51dd0431c;hb=18bfa1c785a123499ee12d0551a9447a4d32d93b;hp=ba7c30574a8cbd5357d3dbf1860a8e40c6a63b4e;hpb=165498cecfc11f3471d84855f4d019be9b353621;p=oweals%2Fminetest.git diff --git a/src/noise.cpp b/src/noise.cpp index ba7c30574..35057146d 100644 --- a/src/noise.cpp +++ b/src/noise.cpp @@ -1,6 +1,7 @@ /* Minetest Copyright (C) 2010-2013 celeron55, Perttu Ahola +Copyright (C) 2010-2013 kwolekr, Ryan Kwolek This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -20,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "noise.h" #include +#include // memset #include "debug.h" #include "util/numeric.h" @@ -524,7 +526,6 @@ float *Noise::perlinMap2D(float x, float y) { for (j = 0; j != sy; j++) { for (i = 0; i != sx; i++) { result[index] += g * buf[index]; -//dstream << "pm2d i="<