! Resizes the available memory for the array. \param capacity The number of entries that the set should be able to hold. */
| 610 | The number of entries that the set should be able to hold. |
| 611 | */ |
| 612 | PX_INLINE void grow(uint32_t capacity) |
| 613 | { |
| 614 | NV_CLOTH_ASSERT(this->capacity() < capacity); |
| 615 | recreate(capacity); |
| 616 | } |
| 617 | |
| 618 | /*! |
| 619 | Creates a new memory block, copies all entries to the new block and destroys old entries. |