mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add static glTF support (#14557)
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: jordan4ibanez <jordan4ibanez@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
@@ -45,6 +45,10 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
//! Move constructor
|
||||
array(std::vector<T> &&data) :
|
||||
m_data(std::move(data)), is_sorted(false) {}
|
||||
|
||||
//! Reallocates the array, make it bigger or smaller.
|
||||
/** \param new_size New size of array.
|
||||
\param canShrink Specifies whether the array is reallocated even if
|
||||
|
Reference in New Issue
Block a user