14 #ifndef __BULLET_UTILS_H__ 15 #define __BULLET_UTILS_H__ 27 EXPCL_PANDABULLET btVector3 LVecBase3_to_btVector3(
const LVecBase3 &v);
28 EXPCL_PANDABULLET btMatrix3x3 LMatrix3_to_btMatrix3x3(
const LMatrix3 &m);
29 EXPCL_PANDABULLET btTransform LMatrix4_to_btTrans(
const LMatrix4 &m);
30 EXPCL_PANDABULLET btQuaternion LQuaternion_to_btQuat(
const LQuaternion &q);
33 EXPCL_PANDABULLET LVecBase3 btVector3_to_LVecBase3(
const btVector3 &v);
34 EXPCL_PANDABULLET LVector3 btVector3_to_LVector3(
const btVector3 &v);
35 EXPCL_PANDABULLET LPoint3 btVector3_to_LPoint3(
const btVector3 &p);
36 EXPCL_PANDABULLET LMatrix3 btMatrix3x3_to_LMatrix3(
const btMatrix3x3 &m);
37 EXPCL_PANDABULLET LMatrix4 btTrans_to_LMatrix4(
const btTransform &tf);
38 EXPCL_PANDABULLET LQuaternion btQuat_to_LQuaternion(
const btQuaternion &q);
41 const btTransform &tf,
42 const LVecBase3 &scale=LVecBase3(1.0f, 1.0f, 1.0f));
44 EXPCL_PANDABULLET btTransform TransformState_to_btTrans(
47 EXPCL_PANDABULLET
void get_node_transform(btTransform &trans,
PandaNode *node);
58 EXPCL_PANDABULLET BulletUpAxis get_default_up_axis();
65 #endif // __BULLET_UTILS_H__ PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPCL_PANDABULLET int get_bullet_version()
Returns the version of the linked Bullet library.