mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-02 10:36:39 +00:00
Remove unused code
This commit is contained in:
parent
350027c588
commit
548c38f54d
1 changed files with 0 additions and 8 deletions
|
@ -18,8 +18,6 @@
|
||||||
|
|
||||||
namespace DetourNavigator
|
namespace DetourNavigator
|
||||||
{
|
{
|
||||||
struct Settings;
|
|
||||||
|
|
||||||
inline bool inRange(const osg::Vec3f& v1, const osg::Vec3f& v2, const float r)
|
inline bool inRange(const osg::Vec3f& v1, const osg::Vec3f& v2, const float r)
|
||||||
{
|
{
|
||||||
return (osg::Vec2f(v1.x(), v1.z()) - osg::Vec2f(v2.x(), v2.z())).length() < r;
|
return (osg::Vec2f(v1.x(), v1.z()) - osg::Vec2f(v2.x(), v2.z())).length() < r;
|
||||||
|
@ -87,12 +85,6 @@ namespace DetourNavigator
|
||||||
std::reference_wrapper<const RecastSettings> mSettings;
|
std::reference_wrapper<const RecastSettings> mSettings;
|
||||||
};
|
};
|
||||||
|
|
||||||
inline bool initNavMeshQuery(dtNavMeshQuery& value, const dtNavMesh& navMesh, const int maxNodes)
|
|
||||||
{
|
|
||||||
const auto status = value.init(&navMesh, maxNodes);
|
|
||||||
return dtStatusSucceed(status);
|
|
||||||
}
|
|
||||||
|
|
||||||
dtPolyRef findNearestPoly(const dtNavMeshQuery& query, const dtQueryFilter& filter, const osg::Vec3f& center,
|
dtPolyRef findNearestPoly(const dtNavMeshQuery& query, const dtQueryFilter& filter, const osg::Vec3f& center,
|
||||||
const osg::Vec3f& halfExtents);
|
const osg::Vec3f& halfExtents);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue