15 #ifndef __BULLET_UTILS_H__
16 #define __BULLET_UTILS_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
23 #include "pointerTo.h"
24 #include "pandaNode.h"
28 EXPCL_PANDABULLET btVector3 LVecBase3_to_btVector3(
const LVecBase3 &v);
29 EXPCL_PANDABULLET btMatrix3x3 LMatrix3_to_btMatrix3x3(
const LMatrix3 &m);
30 EXPCL_PANDABULLET btTransform LMatrix4_to_btTrans(
const LMatrix4 &m);
31 EXPCL_PANDABULLET btQuaternion LQuaternion_to_btQuat(
const LQuaternion &q);
34 EXPCL_PANDABULLET
LVecBase3 btVector3_to_LVecBase3(
const btVector3 &v);
35 EXPCL_PANDABULLET
LVector3 btVector3_to_LVector3(
const btVector3 &v);
36 EXPCL_PANDABULLET
LPoint3 btVector3_to_LPoint3(
const btVector3 &p);
37 EXPCL_PANDABULLET
LMatrix3 btMatrix3x3_to_LMatrix3(
const btMatrix3x3 &m);
38 EXPCL_PANDABULLET
LMatrix4 btTrans_to_LMatrix4(
const btTransform &tf);
39 EXPCL_PANDABULLET
LQuaternion btQuat_to_LQuaternion(
const btQuaternion &q);
41 EXPCL_PANDABULLET CPT(TransformState) btTrans_to_TransformState(
42 const btTransform &tf,
45 EXPCL_PANDABULLET btTransform TransformState_to_btTrans(
46 CPT(TransformState) ts);
57 EXPCL_PANDABULLET BulletUpAxis get_default_up_axis();
58 EXPCL_PANDABULLET
int get_bullet_version();
62 #include "bullet_utils.I"
64 #endif // __BULLET_UTILS_H__
This is the base class for all three-component vectors and points.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This is a 4-by-4 transform matrix.
This is the base quaternion class.
This is a 3-by-3 transform matrix.