summaryrefslogtreecommitdiffstats
path: root/src/Noise
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-27 22:48:31 +0100
committerMattes D <github@xoft.cz>2014-11-27 22:48:31 +0100
commit2cff4e8c8318d8f3a0af9c9440014cc07d64eeee (patch)
treef7e0c5fb9dc51f6fa0577f99bfdcdc40899be2f1 /src/Noise
parentOctavedNoise: Unshadowed a local variable. (diff)
downloadcuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.tar
cuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.tar.gz
cuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.tar.bz2
cuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.tar.lz
cuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.tar.xz
cuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.tar.zst
cuberite-2cff4e8c8318d8f3a0af9c9440014cc07d64eeee.zip
Diffstat (limited to '')
-rw-r--r--src/Noise/RidgedNoise.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Noise/RidgedNoise.h b/src/Noise/RidgedNoise.h
index 69b480f60..f59a0512f 100644
--- a/src/Noise/RidgedNoise.h
+++ b/src/Noise/RidgedNoise.h
@@ -54,7 +54,7 @@ public:
);
for (int i = 0; i < ArrayCount; i++)
{
- a_Array[i] = fabs(a_Array[i]);
+ a_Array[i] = std::abs(a_Array[i]);
}
}
@@ -77,7 +77,7 @@ public:
);
for (int i = 0; i < ArrayCount; i++)
{
- a_Array[i] = fabs(a_Array[i]);
+ a_Array[i] = std::abs(a_Array[i]);
}
}