mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-11 14:43:34 +00:00
returning range from noise
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user