1 #ifndef BLOBS_RAND_SIMPLEXNOISE_HPP_
2 #define BLOBS_RAND_SIMPLEXNOISE_HPP_
4 #include "../graphics/glm.hpp"
15 explicit SimplexNoise(std::uint64_t seed) noexcept;
17 float operator ()(const glm::vec3 &) const noexcept;
20 int Perm(int idx) const noexcept;
21 int Perm12(int idx) const noexcept;
22 const glm::vec3 &Grad(int idx) const noexcept;
28 glm::ivec3 second_ints[8];
29 glm::ivec3 third_ints[8];
30 glm::vec3 second_floats[8];
31 glm::vec3 third_floats[8];