Skip to content

Commit ecf72a8

Browse files
committed
update
1 parent 51e7294 commit ecf72a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PerlinNoise.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ namespace siv
9595
const std::int32_t Y = static_cast<std::int32_t>(std::floor(y)) & 255;
9696
const std::int32_t Z = static_cast<std::int32_t>(std::floor(z)) & 255;
9797

98-
x -= ::floor(x);
99-
y -= ::floor(y);
100-
z -= ::floor(z);
98+
x -= std::floor(x);
99+
y -= std::floor(y);
100+
z -= std::floor(z);
101101

102102
const double u = fade(x);
103103
const double v = fade(y);

0 commit comments

Comments
 (0)