mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 19:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			446 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
 | |
| #define OPENMW_COMPONENTS_DETOURNAVIGATOR_RAYCAST_H
 | |
| 
 | |
| #include "flags.hpp"
 | |
| 
 | |
| #include <optional>
 | |
| #include <osg/Vec3f>
 | |
| 
 | |
| 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
 |