1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00
openmw-tes3mp/libs/openengine/bullet/trace.h

30 lines
477 B
C
Raw Normal View History

2012-03-19 23:38:44 +00:00
#ifndef OENGINE_BULLET_TRACE_H
#define OENGINE_BULLET_TRACE_H
2013-02-07 05:47:09 +00:00
#include <OgreVector3.h>
namespace OEngine
{
namespace Physic
{
class PhysicEngine;
}
}
2012-03-19 23:38:44 +00:00
class btCollisionObject;
2012-03-19 23:38:44 +00:00
struct traceResults
{
2013-02-08 21:12:34 +00:00
Ogre::Vector3 endpos;
Ogre::Vector3 planenormal;
2012-03-19 23:38:44 +00:00
2013-02-08 21:12:34 +00:00
float fraction;
2012-03-19 23:38:44 +00:00
};
void actortrace(traceResults *results, btCollisionObject *actor, const Ogre::Vector3& start, const Ogre::Vector3& end, OEngine::Physic::PhysicEngine *enginePass);
2012-03-19 23:38:44 +00:00
2012-04-08 16:25:50 +00:00
#endif