mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 19:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			577 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			577 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_OFFMESHCONNECTION_H
 | |
| #define OPENMW_COMPONENTS_DETOURNAVIGATOR_OFFMESHCONNECTION_H
 | |
| 
 | |
| #include "areatype.hpp"
 | |
| 
 | |
| #include <osg/Vec3f>
 | |
| 
 | |
| #include <tuple>
 | |
| #include <vector>
 | |
| 
 | |
| namespace DetourNavigator
 | |
| {
 | |
|     struct OffMeshConnection
 | |
|     {
 | |
|         osg::Vec3f mStart;
 | |
|         osg::Vec3f mEnd;
 | |
|         AreaType mAreaType;
 | |
|     };
 | |
| 
 | |
|     inline bool operator<(const OffMeshConnection& lhs, const OffMeshConnection& rhs)
 | |
|     {
 | |
|         return std::tie(lhs.mStart, lhs.mEnd, lhs.mAreaType) < std::tie(rhs.mStart, rhs.mEnd, rhs.mAreaType);
 | |
|     }
 | |
| }
 | |
| 
 | |
| #endif
 |