2021-02-14 04:07:08 +01:00
|
|
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
|
|
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
|
|
|
|
|
|
|
|
#include "flags.hpp"
|
|
|
|
|
|
|
|
#include <optional>
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
|
2023-02-17 14:55:05 +01:00
|
|
|
class dtNavMeshQuery;
|
2021-02-14 04:07:08 +01:00
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
2021-11-06 13:46:43 +01:00
|
|
|
struct DetourSettings;
|
2021-02-14 04:07:08 +01:00
|
|
|
|
2023-02-17 14:55:05 +01: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 04:07:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|