#ifndef BLANK_WORLD_GENERATOR_HPP_
#define BLANK_WORLD_GENERATOR_HPP_
+#include "../graphics/glm.hpp"
#include "../rand/SimplexNoise.hpp"
#include <cstdint>
#include <vector>
-#include <glm/glm.hpp>
namespace blank {
void operator ()(Chunk &) const noexcept;
private:
- Block Generate(const glm::vec3 &position) const noexcept;
- static float GetValue(
- const SimplexNoise &,
- const glm::vec3 &,
- const Config::NoiseParam &) noexcept;
+ struct ValueField;
+ Block Generate(const ValueField &, const glm::ivec3 &position) const noexcept;
private:
const Config &config;