mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 15:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			532 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			532 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDRANDOMPOINTAROUNDCIRCLE_H
 | |
| #define OPENMW_COMPONENTS_DETOURNAVIGATOR_FINDRANDOMPOINTAROUNDCIRCLE_H
 | |
| 
 | |
| #include "flags.hpp"
 | |
| 
 | |
| #include <osg/Vec3f>
 | |
| 
 | |
| #include <optional>
 | |
| 
 | |
| class dtNavMeshQuery;
 | |
| 
 | |
| namespace DetourNavigator
 | |
| {
 | |
|     struct DetourSettings;
 | |
| 
 | |
|     std::optional<osg::Vec3f> findRandomPointAroundCircle(const dtNavMeshQuery& navMeshQuery,
 | |
|         const osg::Vec3f& halfExtents, const osg::Vec3f& start, const float maxRadius, const Flags includeFlags,
 | |
|         float (*prng)());
 | |
| }
 | |
| 
 | |
| #endif
 |