2021-02-14 03:07:08 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
|
|
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
|
|
|
|
|
|
|
|
#include "flags.hpp"
|
|
|
|
|
|
|
|
#include <optional>
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
|
|
|
|
class dtNavMesh;
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
2021-11-06 12:46:43 +00:00
|
|
|
struct DetourSettings;
|
2021-02-14 03:07:08 +00:00
|
|
|
|
|
|
|
std::optional<osg::Vec3f> raycast(const dtNavMesh& navMesh, const osg::Vec3f& halfExtents,
|
2021-11-06 12:46:43 +00:00
|
|
|
const osg::Vec3f& start, const osg::Vec3f& end, const Flags includeFlags, const DetourSettings& settings);
|
2021-02-14 03:07:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|