1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +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