Commit Graph

13 Commits (7b064920dbc1766a28279b72379b7f6383f88a4f)

Author SHA1 Message Date
elsid 10e14a3c21
Replace release by assigning nullptr
release does not call a destructor if it's the last reference. This is not a
right choice here. Even though the functions accept raw pointers they convert
them into osg::ref_ptr. So it's ok to share the ownership.
7 months ago
elsid 4b8897e33e
Use state sets without transparency support for recast mesh and agents paths 7 months ago
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 1a5932a669
Move std::ostream& operator<< to .cpp 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 66390bd8a4
Use line width 1 as the only guaranteed to be supported value by glLineWidth 3 years ago
elsid c59c8ae1f4
Remove unused macro 5 years ago
elsid 7ae7cb181d
Support recast mesh rendering 5 years ago
elsid 8e09468f45
Don't set display list usage for navmesh 6 years ago
elsid 4395a92c35
Use display list to render navmesh
Slightly improves performance of massive navmesh rendering.
6 years ago
elsid dc09674362
Add command and settings option to enable actors paths render 6 years ago
elsid 70a369f70e
Add command to enable NavMesh render
togglenavmesh or tnm
6 years ago