Commit Graph

13 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
elsid 98d530d8cb
Share state sets for recast mesh tiles and actors paths 7 months ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid 01c712d5f1
Split navigator settings into subtypes
Mostly to distinguish settings that affect properties of the generated navmesh.
3 years ago
elsid cffcb6a897
Share state set between all navmesh tiles
Do not change GL_DEPTH because it's always disabled anyway.
3 years ago
elsid d1a1b8c01c
Use polygon offset to render navmesh and recast mesh 3 years ago
elsid a824e112d4
Fix recastmesh.cpp includes
recastmesh.cpp is supposed to include recastmesh.hpp not navmesh.hpp.
3 years ago
elsid daff7aba01
Use different colors for walkable and non-walkable triangles 3 years ago
Andrei Kortunov fc2076db1a
Fix MSVC warnings about local variables redeclaration (#3130) 3 years ago
glassmancody.info 09e03fde2e refactor and fix wobbly shores 3 years ago
elsid 9a5ec5fd03
Store heightfields as array of heights instead of triangles
To reduce size of RecastMesh and therefore cache size.
3 years ago
elsid d60edb36aa
Make RecastMesh independent from recast scale factor
To avoid scaling until it's required by delaying coordinates conversion until
navmesh generation.
3 years ago
elsid af7059373c
Make RecastMesh independent from the order of RecastMeshBuilder calls
To make sure RecastMesh objects are equal if built with the same data but in
different order. Will be used later when there will be more than one place
building RecasMesh objects.
3 years ago
elsid 7ae7cb181d
Support recast mesh rendering 5 years ago