2020-01-20 22:06:47 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDRANDOMPOINTAROUNDCIRCLE_H
|
|
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDRANDOMPOINTAROUNDCIRCLE_H
|
|
|
|
|
|
|
|
#include "flags.hpp"
|
|
|
|
|
2020-10-24 22:58:44 +00:00
|
|
|
#include <optional>
|
2020-01-20 22:06:47 +00:00
|
|
|
#include <osg/Vec3f>
|
|
|
|
|
|
|
|
class dtNavMesh;
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
2021-11-06 12:46:43 +00:00
|
|
|
struct DetourSettings;
|
2020-01-20 22:06:47 +00:00
|
|
|
|
2020-10-24 22:33:41 +00:00
|
|
|
std::optional<osg::Vec3f> findRandomPointAroundCircle(const dtNavMesh& navMesh, const osg::Vec3f& halfExtents,
|
2021-11-06 12:46:43 +00:00
|
|
|
const osg::Vec3f& start, const float maxRadius, const Flags includeFlags, const DetourSettings& settings);
|
2020-01-20 22:06:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|