mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add test biomes
This commit is contained in:
parent
4bd5f1b629
commit
572eaec429
5 changed files with 99 additions and 5 deletions
|
|
@ -37,6 +37,14 @@ public:
|
|||
return height;
|
||||
}
|
||||
|
||||
float get(uint x, uint y) {
|
||||
return buffer.at(y * width + x);
|
||||
}
|
||||
|
||||
float getUnchecked(uint x, uint y) {
|
||||
return buffer[y * width + x];
|
||||
}
|
||||
|
||||
float* getValues() {
|
||||
return buffer.data();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue