1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

27 lines
475 B
C
Raw Normal View History

2012-03-19 19:38:44 -04:00
#ifndef OENGINE_BULLET_TRACE_H
#define OENGINE_BULLET_TRACE_H
2013-02-06 21:47:09 -08:00
#include <OgreVector3.h>
namespace OEngine
{
namespace Physic
{
class PhysicEngine;
}
}
2012-03-19 19:38:44 -04:00
struct traceResults
{
2013-02-08 13:12:34 -08:00
Ogre::Vector3 endpos;
Ogre::Vector3 planenormal;
2012-03-19 19:38:44 -04:00
2013-02-08 13:12:34 -08:00
float fraction;
2012-03-19 19:38:44 -04:00
};
2013-02-20 04:14:52 -08:00
void newtrace(traceResults *results, const Ogre::Vector3& start, const Ogre::Vector3& end, const Ogre::Vector3& BBHalfExtents, bool isInterior, OEngine::Physic::PhysicEngine* enginePass);
2012-03-19 19:38:44 -04:00
2012-04-08 18:25:50 +02:00
#endif