You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3coop/libs/openengine/bullet/trace.h

34 lines
724 B
C

13 years ago
#ifndef OENGINE_BULLET_TRACE_H
#define OENGINE_BULLET_TRACE_H
#include <OgreVector3.h>
class btCollisionObject;
namespace OEngine
{
namespace Physic
13 years ago
{
class PhysicEngine;
class PhysicActor;
struct ActorTracer
{
Ogre::Vector3 mEndPos;
Ogre::Vector3 mPlaneNormal;
const btCollisionObject* mHitObject;
13 years ago
float mFraction;
13 years ago
void doTrace(btCollisionObject *actor, const Ogre::Vector3 &start, const Ogre::Vector3 &end,
const PhysicEngine *enginePass);
void findGround(const OEngine::Physic::PhysicActor* actor, const Ogre::Vector3 &start, const Ogre::Vector3 &end,
12 years ago
const PhysicEngine *enginePass);
};
}
}
13 years ago
13 years ago
#endif