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:
commit
22b222ca83
@ -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…
x
Reference in New Issue
Block a user