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

30 lines
477 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
class btCollisionObject;
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
};
void actortrace(traceResults *results, btCollisionObject *actor, const Ogre::Vector3& start, const Ogre::Vector3& end, OEngine::Physic::PhysicEngine *enginePass);
2012-03-19 19:38:44 -04:00
2012-04-08 18:25:50 +02:00
#endif