1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix most warnings, re-fix MSVC compile error

This commit is contained in:
kwolekr 2013-02-26 01:57:59 -05:00
parent 979ca23f1e
commit d31f07bd4b
10 changed files with 22 additions and 19 deletions

View file

@ -507,7 +507,7 @@ void Noise::gradientMap3D(float x, float y, float z,
float *Noise::perlinMap2D(float x, float y) {
float a = 0.0, f = 1.0, g = 1.0;
float f = 1.0, g = 1.0;
int i, j, index, oct;
x /= np->spread.X;
@ -537,7 +537,7 @@ float *Noise::perlinMap2D(float x, float y) {
float *Noise::perlinMap3D(float x, float y, float z) {
float a = 0.0, f = 1.0, g = 1.0;
float f = 1.0, g = 1.0;
int i, j, k, index, oct;
x /= np->spread.X;