mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 04:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			507 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			507 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OENGINE_BULLET_TRACE_H
 | |
| #define OENGINE_BULLET_TRACE_H
 | |
| 
 | |
| #include <OgreVector3.h>
 | |
| 
 | |
| 
 | |
| namespace OEngine
 | |
| {
 | |
|     namespace Physic
 | |
|     {
 | |
|         class PhysicEngine;
 | |
|     }
 | |
| }
 | |
| 
 | |
| 
 | |
| struct traceResults
 | |
| {
 | |
|     Ogre::Vector3 endpos;
 | |
|     Ogre::Vector3 planenormal;
 | |
| 
 | |
|     float fraction;
 | |
| };
 | |
| 
 | |
| void newtrace(traceResults *results, const Ogre::Quaternion& orient, const Ogre::Vector3& start, const Ogre::Vector3& end, const Ogre::Vector3& BBHalfExtents, bool isInterior, OEngine::Physic::PhysicEngine* enginePass);
 | |
| 
 | |
| #endif
 |