mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Merge branch 'main' into heightmaps
This commit is contained in:
commit
bf9f81a98c
74 changed files with 1885 additions and 1782 deletions
|
|
@ -12,6 +12,7 @@ namespace util {
|
|||
Buffer(size_t length)
|
||||
: ptr(std::make_unique<T[]>(length)), length(length) {
|
||||
}
|
||||
Buffer(const Buffer<T>& o) : Buffer(o.data(), o.size()) {}
|
||||
|
||||
Buffer(std::unique_ptr<T[]> ptr, size_t length)
|
||||
: ptr(std::move(ptr)), length(length) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue