]> git.localhorst.tv Git - blank.git/blobdiff - src/rand/SimplexNoise.hpp
glm backwards compatibility
[blank.git] / src / rand / SimplexNoise.hpp
index 15789310a3243139f6e05d1e3854c1bcbd35ddec..dbe3d59c61950c59ee97983e879309a8f288a5d4 100644 (file)
@@ -1,13 +1,13 @@
 #ifndef BLANK_RAND_SIMPLEXNOISE_HPP_
 #define BLANK_RAND_SIMPLEXNOISE_HPP_
 
+#include "../graphics/glm.hpp"
+
 #include <cstdint>
-#include <glm/glm.hpp>
 
 
 namespace blank {
 
-/// (3D only) adaptation of Stefan Gustavson's SimplexNoise java class
 class SimplexNoise {
 
 public:
@@ -24,6 +24,10 @@ private:
        int perm[512];
        int perm12[512];
        glm::vec3 grad[12];
+       glm::ivec3 second_ints[8];
+       glm::ivec3 third_ints[8];
+       glm::vec3 second_floats[8];
+       glm::vec3 third_floats[8];
 
 };