returning range from noise

This commit is contained in:
2025-05-21 14:48:01 +02:00
parent 08a963e754
commit aa77ca018a
5 changed files with 28 additions and 30 deletions

View File

@@ -3,12 +3,14 @@
#include <ScopMaths.h>
#include <Chunk.h>
class Noise
{
public:
Noise() = default;
[[nodiscard]] std::uint32_t GetHeight(Scop::Vec2i pos);
[[nodiscard]] std::array<std::uint32_t, CHUNK_SIZE.y> GetHeight(Scop::Vec2i pos);
~Noise() = default;