Commit Graph

9 Commits (38363eee0d74a3c6e4a48741e09abb78be7b226a)

Author SHA1 Message Date
elsid 62f32f4543
Do not replace equivalent navmesh tiles 4 years ago
elsid f637dc38bd
Add cached flag to update navmesh status 4 years ago
elsid 7d73e73cad
Consider tile as not removed when it is not found 4 years ago
elsid 614d5243c3
Make NavMeshCacheItem consistent
Move all logic related to this type into its methods.
6 years ago
elsid ccc709a316
Store guarded navmesh cache item in shared_ptr
Remove useless SharedGuarded type.
6 years ago
elsid ed73d130f9
Cache navmesh tiles
Use LRU modification to hold currently used items. Use RecastMesh binary
data for item key.

Store original pointer of btCollisionShape in user pointer to make available
it as an identifier within all duplicates. Use pointer to heights data array
for btHeightfieldTerrainShape.
6 years ago
elsid d2fd9abd51
Split RecastMesh into tiles 6 years ago
elsid dbb1d99bff
Add NavMeshItem generation to fix update NavMesh for render 6 years ago
elsid dd5f4498f6
Increment NavMesh revision on remove or add tile 6 years ago