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

32 lines
639 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>
class btCollisionObject;
2013-08-17 04:42:35 -07:00
namespace OEngine
{
namespace Physic
2012-03-19 19:38:44 -04:00
{
2013-08-17 04:42:35 -07:00
class PhysicEngine;
struct ActorTracer
{
Ogre::Vector3 mEndPos;
Ogre::Vector3 mPlaneNormal;
2012-03-19 19:38:44 -04:00
2013-08-17 04:42:35 -07:00
float mFraction;
2012-03-19 19:38:44 -04:00
2013-08-17 04:42:35 -07:00
void doTrace(btCollisionObject *actor, const Ogre::Vector3 &start, const Ogre::Vector3 &end,
const PhysicEngine *enginePass);
2013-08-19 04:56:02 -07:00
void findGround(btCollisionObject *actor, const Ogre::Vector3 &start, const Ogre::Vector3 &end,
const PhysicEngine *enginePass);
2013-08-17 04:42:35 -07:00
};
}
}
2012-03-19 19:38:44 -04:00
2012-04-08 18:25:50 +02:00
#endif