Bullet Collision Detection & Physics Library
|
#include "Bullet-C-Api.h"
#include "btBulletDynamicsCommon.h"
#include "LinearMath/btAlignedAllocator.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btScalar.h"
#include "LinearMath/btMatrix3x3.h"
#include "LinearMath/btTransform.h"
#include "BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h"
#include "BulletCollision/CollisionShapes/btTriangleShape.h"
#include "BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h"
#include "BulletCollision/NarrowPhaseCollision/btPointCollector.h"
#include "BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h"
#include "BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h"
#include "BulletCollision/NarrowPhaseCollision/btGjkEpa2.h"
#include "BulletCollision/CollisionShapes/btMinkowskiSumShape.h"
#include "BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h"
#include "BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h"
#include "BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h"
Go to the source code of this file.
Classes | |
struct | btPhysicsSdk |
Functions | |
plPhysicsSdkHandle | plNewBulletSdk () |
Create and Delete a Physics SDK. More... | |
void | plDeletePhysicsSdk (plPhysicsSdkHandle physicsSdk) |
plDynamicsWorldHandle | plCreateDynamicsWorld (plPhysicsSdkHandle physicsSdkHandle) |
void | plDeleteDynamicsWorld (plDynamicsWorldHandle world) |
void | plStepSimulation (plDynamicsWorldHandle world, plReal timeStep) |
void | plAddRigidBody (plDynamicsWorldHandle world, plRigidBodyHandle object) |
void | plRemoveRigidBody (plDynamicsWorldHandle world, plRigidBodyHandle object) |
plRigidBodyHandle | plCreateRigidBody (void *user_data, float mass, plCollisionShapeHandle cshape) |
void | plDeleteRigidBody (plRigidBodyHandle cbody) |
plCollisionShapeHandle | plNewSphereShape (plReal radius) |
plCollisionShapeHandle | plNewBoxShape (plReal x, plReal y, plReal z) |
plCollisionShapeHandle | plNewCapsuleShape (plReal radius, plReal height) |
plCollisionShapeHandle | plNewConeShape (plReal radius, plReal height) |
plCollisionShapeHandle | plNewCylinderShape (plReal radius, plReal height) |
plCollisionShapeHandle | plNewConvexHullShape () |
plMeshInterfaceHandle | plNewMeshInterface () |
plCollisionShapeHandle | plNewCompoundShape () |
void | plAddChildShape (plCollisionShapeHandle compoundShapeHandle, plCollisionShapeHandle childShapeHandle, plVector3 childPos, plQuaternion childOrn) |
void | plSetEuler (plReal yaw, plReal pitch, plReal roll, plQuaternion orient) |
void | plAddVertex (plCollisionShapeHandle cshape, plReal x, plReal y, plReal z) |
void | plDeleteShape (plCollisionShapeHandle cshape) |
void | plSetScaling (plCollisionShapeHandle cshape, plVector3 cscaling) |
void | plSetPosition (plRigidBodyHandle object, const plVector3 position) |
void | plSetOrientation (plRigidBodyHandle object, const plQuaternion orientation) |
void | plSetOpenGLMatrix (plRigidBodyHandle object, plReal *matrix) |
void | plGetOpenGLMatrix (plRigidBodyHandle object, plReal *matrix) |
void | plGetPosition (plRigidBodyHandle object, plVector3 position) |
void | plGetOrientation (plRigidBodyHandle object, plQuaternion orientation) |
double | plNearestPoints (float p1[3], float p2[3], float p3[3], float q1[3], float q2[3], float q3[3], float *pa, float *pb, float normal[3]) |
void plAddChildShape | ( | plCollisionShapeHandle | compoundShapeHandle, |
plCollisionShapeHandle | childShapeHandle, | ||
plVector3 | childPos, | ||
plQuaternion | childOrn | ||
) |
Definition at line 223 of file Bullet-C-API.cpp.
void plAddRigidBody | ( | plDynamicsWorldHandle | world, |
plRigidBodyHandle | object | ||
) |
Definition at line 117 of file Bullet-C-API.cpp.
Definition at line 252 of file Bullet-C-API.cpp.
plDynamicsWorldHandle plCreateDynamicsWorld | ( | plPhysicsSdkHandle | physicsSdkHandle | ) |
Definition at line 88 of file Bullet-C-API.cpp.
plRigidBodyHandle plCreateRigidBody | ( | void * | user_data, |
float | mass, | ||
plCollisionShapeHandle | cshape | ||
) |
Definition at line 139 of file Bullet-C-API.cpp.
void plDeleteDynamicsWorld | ( | plDynamicsWorldHandle | world | ) |
Definition at line 103 of file Bullet-C-API.cpp.
void plDeletePhysicsSdk | ( | plPhysicsSdkHandle | physicsSdk | ) |
Definition at line 80 of file Bullet-C-API.cpp.
void plDeleteRigidBody | ( | plRigidBodyHandle | cbody | ) |
Definition at line 158 of file Bullet-C-API.cpp.
void plDeleteShape | ( | plCollisionShapeHandle | cshape | ) |
Definition at line 262 of file Bullet-C-API.cpp.
void plGetOpenGLMatrix | ( | plRigidBodyHandle | object, |
plReal * | matrix | ||
) |
Definition at line 306 of file Bullet-C-API.cpp.
void plGetOrientation | ( | plRigidBodyHandle | object, |
plQuaternion | orientation | ||
) |
Definition at line 324 of file Bullet-C-API.cpp.
void plGetPosition | ( | plRigidBodyHandle | object, |
plVector3 | position | ||
) |
Definition at line 314 of file Bullet-C-API.cpp.
double plNearestPoints | ( | float | p1[3], |
float | p2[3], | ||
float | p3[3], | ||
float | q1[3], | ||
float | q2[3], | ||
float | q3[3], | ||
float * | pa, | ||
float * | pb, | ||
float | normal[3] | ||
) |
Definition at line 341 of file Bullet-C-API.cpp.
Definition at line 175 of file Bullet-C-API.cpp.
plPhysicsSdkHandle plNewBulletSdk | ( | void | ) |
Create and Delete a Physics SDK.
Definition at line 74 of file Bullet-C-API.cpp.
Definition at line 181 of file Bullet-C-API.cpp.
plCollisionShapeHandle plNewCompoundShape | ( | void | ) |
Definition at line 217 of file Bullet-C-API.cpp.
Definition at line 191 of file Bullet-C-API.cpp.
plCollisionShapeHandle plNewConvexHullShape | ( | void | ) |
Definition at line 204 of file Bullet-C-API.cpp.
Definition at line 197 of file Bullet-C-API.cpp.
plMeshInterfaceHandle plNewMeshInterface | ( | void | ) |
Definition at line 212 of file Bullet-C-API.cpp.
plCollisionShapeHandle plNewSphereShape | ( | plReal | radius | ) |
Definition at line 168 of file Bullet-C-API.cpp.
void plRemoveRigidBody | ( | plDynamicsWorldHandle | world, |
plRigidBodyHandle | object | ||
) |
Definition at line 127 of file Bullet-C-API.cpp.
void plSetEuler | ( | plReal | yaw, |
plReal | pitch, | ||
plReal | roll, | ||
plQuaternion | orient | ||
) |
Definition at line 236 of file Bullet-C-API.cpp.
void plSetOpenGLMatrix | ( | plRigidBodyHandle | object, |
plReal * | matrix | ||
) |
Definition at line 298 of file Bullet-C-API.cpp.
void plSetOrientation | ( | plRigidBodyHandle | object, |
const plQuaternion | orientation | ||
) |
Definition at line 288 of file Bullet-C-API.cpp.
void plSetPosition | ( | plRigidBodyHandle | object, |
const plVector3 | position | ||
) |
Definition at line 278 of file Bullet-C-API.cpp.
void plSetScaling | ( | plCollisionShapeHandle | cshape, |
plVector3 | cscaling | ||
) |
Definition at line 268 of file Bullet-C-API.cpp.
void plStepSimulation | ( | plDynamicsWorldHandle | world, |
plReal | timeStep | ||
) |
Definition at line 110 of file Bullet-C-API.cpp.