2018-07-21 10:37:02 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_SCENEUTIL_AGENTPATH_H
|
|
|
|
#define OPENMW_COMPONENTS_SCENEUTIL_AGENTPATH_H
|
|
|
|
|
|
|
|
#include <osg/ref_ptr>
|
|
|
|
|
|
|
|
#include <deque>
|
|
|
|
|
|
|
|
namespace osg
|
|
|
|
{
|
|
|
|
class Group;
|
|
|
|
class Vec3f;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
2021-11-06 12:46:43 +00:00
|
|
|
struct RecastSettings;
|
2022-06-16 22:28:44 +00:00
|
|
|
struct AgentBounds;
|
2018-07-21 10:37:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace SceneUtil
|
|
|
|
{
|
|
|
|
osg::ref_ptr<osg::Group> createAgentPathGroup(const std::deque<osg::Vec3f>& path,
|
2022-06-16 22:28:44 +00:00
|
|
|
const DetourNavigator::AgentBounds& agentBounds, const osg::Vec3f& start, const osg::Vec3f& end,
|
2021-11-06 12:46:43 +00:00
|
|
|
const DetourNavigator::RecastSettings& settings);
|
2018-07-21 10:37:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|