mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Share state set between all navmesh tiles
Do not change GL_DEPTH because it's always disabled anyway.
This commit is contained in:
parent
d1a1b8c01c
commit
cffcb6a897
8 changed files with 57 additions and 32 deletions
|
@ -43,7 +43,7 @@ namespace SceneUtil
|
|||
|
||||
const osg::ref_ptr<osg::Group> group(new osg::Group);
|
||||
|
||||
DebugDraw debugDraw(*group, osg::Vec3f(0, 0, 0), 1);
|
||||
DebugDraw debugDraw(*group, DebugDraw::makeStateSet(), osg::Vec3f(0, 0, 0), 1);
|
||||
|
||||
const auto agentRadius = halfExtents.x();
|
||||
const auto agentHeight = 2.0f * halfExtents.z();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue