mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-30 13:36:42 +00:00
Merge branch 'navmesh_scene_bounds_2' into 'master'
Limit and filter navmesh input (#5858) Closes #5858 See merge request OpenMW/openmw!1591
This commit is contained in:
commit
22b222ca83
1 changed files with 3 additions and 0 deletions
|
@ -8,11 +8,14 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <limits>
|
||||
|
||||
namespace DetourNavigator
|
||||
{
|
||||
TileCachedRecastMeshManager::TileCachedRecastMeshManager(const RecastSettings& settings)
|
||||
: mSettings(settings)
|
||||
, mBounds {osg::Vec2f(-std::numeric_limits<float>::max(), -std::numeric_limits<float>::max()),
|
||||
osg::Vec2f(std::numeric_limits<float>::max(), std::numeric_limits<float>::max())}
|
||||
{}
|
||||
|
||||
TileBounds TileCachedRecastMeshManager::getBounds() const
|
||||
|
|
Loading…
Reference in a new issue