mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
add basic heightmaps generator optimization
This commit is contained in:
parent
8c0a3f4260
commit
8fb0f6a1bb
5 changed files with 74 additions and 12 deletions
|
|
@ -27,6 +27,8 @@ public:
|
|||
|
||||
void resize(uint width, uint height, InterpolationType interpolation);
|
||||
|
||||
void crop(uint srcX, uint srcY, uint dstWidth, uint dstHeight);
|
||||
|
||||
uint getWidth() const {
|
||||
return width;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue