1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-14 22:26:41 +00:00
openmw/components/detournavigator/raycast.hpp
2025-08-02 12:45:03 +02:00

20 lines
447 B
C++

#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
#include "flags.hpp"
#include <osg/Vec3f>
#include <optional>
class dtNavMeshQuery;
namespace DetourNavigator
{
struct DetourSettings;
std::optional<osg::Vec3f> raycast(const dtNavMeshQuery& navMeshQuery, const osg::Vec3f& halfExtents,
const osg::Vec3f& start, const osg::Vec3f& end, const Flags includeFlags);
}
#endif