kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26557
[PATCH] Add missing include
std::iota is defined in <numeric>
---
3d-viewer/3d_rendering/3d_render_raytracing/PerlinNoise.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/3d-viewer/3d_rendering/3d_render_raytracing/PerlinNoise.cpp b/3d-viewer/3d_rendering/3d_render_raytracing/PerlinNoise.cpp
index 7513c89..daf4fd3 100644
--- a/3d-viewer/3d_rendering/3d_render_raytracing/PerlinNoise.cpp
+++ b/3d-viewer/3d_rendering/3d_render_raytracing/PerlinNoise.cpp
@@ -44,6 +44,7 @@
#include <cmath>
#include <random>
#include <algorithm>
+#include <numeric>
// THIS IS A DIRECT TRANSLATION TO C++11 FROM THE REFERENCE
// JAVA IMPLEMENTATION OF THE IMPROVED PERLIN FUNCTION (see http://mrl.nyu.edu/~perlin/noise/)
Follow ups