You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
451 B
C++
20 lines
451 B
C++
4 years ago
|
#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
|