Files
recastnavigation/Recast/Source/RecastRegion.cpp
Gleb Mazovetskiy e75adf86f9 Avoid reallocs of temp vectors (#467)
* Use clear() instead of resize(0) for temp vectors

Nicer style

* rcVectorBase::resize: Avoid realloc on grow

When capacity is sufficient, do not realloc the whole buffer

* rcVector: Grow exponentially on resize
2021-02-15 12:27:21 +01:00

45 KiB