mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 17:19:56 +00:00
19 lines
451 B
C++
19 lines
451 B
C++
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
|
|
|
|
#include "flags.hpp"
|
|
|
|
#include <optional>
|
|
#include <osg/Vec3f>
|
|
|
|
class dtNavMesh;
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
struct Settings;
|
|
|
|
std::optional<osg::Vec3f> raycast(const dtNavMesh& navMesh, const osg::Vec3f& halfExtents,
|
|
const osg::Vec3f& start, const osg::Vec3f& end, const Flags includeFlags, const Settings& settings);
|
|
}
|
|
|
|
#endif
|