Commit Graph

9 Commits (master)

Author SHA1 Message Date
elsid 105cd5b06f
Add more checks to NavMeshTilesCache tests 4 years ago
elsid ec87b3f8f7
Remove redundant ChunkyTriMesh
This AABB tree required when need to filter out input mesh that has not
influence navmesh tile output. This filtering is already done before. Each
recast mesh corresponds to a single navmesh tile and has appropriate bounds.
4 years ago
elsid f2ebad5115
Return cached element when set existing 4 years ago
elsid 489107c5ee
Count navmesh cache key once in item size
Key is stored only in NavMeshTilesCache::Item, TileMap uses KeyView with
a pointer to a vector.
4 years ago
elsid 7ae7cb181d
Support recast mesh rendering 5 years ago
Azdul 2412017685 Fix DetourNavigatorNavMeshTilesCacheTest on Windows 6 years ago
elsid 6e78fbb538
Double key size for item cache size 6 years ago
elsid 2ba026e2b2
Limit navmesh cache size by data size + key size 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