1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 13:36:40 +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:
elsid 2022-01-25 17:11:31 +00:00
commit 22b222ca83

View file

@ -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