mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 02:56:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			343 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			343 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_BOUNDS_H
 | |
| #define OPENMW_COMPONENTS_DETOURNAVIGATOR_BOUNDS_H
 | |
| 
 | |
| #include <osg/Vec3f>
 | |
| 
 | |
| namespace DetourNavigator
 | |
| {
 | |
|     struct Bounds
 | |
|     {
 | |
|         osg::Vec3f mMin;
 | |
|         osg::Vec3f mMax;
 | |
|     };
 | |
| 
 | |
|     inline bool isEmpty(const Bounds& value)
 | |
|     {
 | |
|         return value.mMin == value.mMax;
 | |
|     }
 | |
| }
 | |
| 
 | |
| #endif
 |