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>
|
|
|
|
|
2023-02-17 13:55:05 +00:00
|
|
|
class dtNavMeshQuery;
|
2021-02-14 03:07:08 +00:00
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
2021-11-06 12:46:43 +00:00
|
|
|
struct DetourSettings;
|
2021-02-14 03:07:08 +00:00
|
|
|
|
2023-02-17 13:55:05 +00:00
|
|
|
std::optional<osg::Vec3f> raycast(const dtNavMeshQuery& navMeshQuery, const osg::Vec3f& halfExtents,
|
|
|
|
const osg::Vec3f& start, const osg::Vec3f& end, const Flags includeFlags);
|
2021-02-14 03:07:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|