Panda3D
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
bullet_utils.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "bullet_includes.h"
#include "luse.h"
#include "pointerTo.h"
#include "pandaNode.h"
#include "nodePath.h"
#include "bullet_utils.I"

Go to the source code of this file.

Enumerations

enum  BulletUpAxis { X_up = 0 , Y_up = 1 , Z_up = 2 }
 

Functions

EXPCL_PANDABULLET LMatrix3 btMatrix3x3_to_LMatrix3 (const btMatrix3x3 &m)
 
EXPCL_PANDABULLET LQuaternion btQuat_to_LQuaternion (const btQuaternion &q)
 
EXPCL_PANDABULLET LMatrix4 btTrans_to_LMatrix4 (const btTransform &tf)
 
EXPCL_PANDABULLET LPoint3 btVector3_to_LPoint3 (const btVector3 &p)
 
EXPCL_PANDABULLET LVecBase3 btVector3_to_LVecBase3 (const btVector3 &v)
 
EXPCL_PANDABULLET LVector3 btVector3_to_LVector3 (const btVector3 &v)
 
EXPCL_PANDABULLET CPT (TransformState) btTrans_to_TransformState(const btTransform &tf
 
EXPCL_PANDABULLET int get_bullet_version ()
 Returns the version of the linked Bullet library.
 
EXPCL_PANDABULLET BulletUpAxis get_default_up_axis ()
 
EXPCL_PANDABULLET void get_node_transform (btTransform &trans, PandaNode *node)
 
EXPCL_PANDABULLET btMatrix3x3 LMatrix3_to_btMatrix3x3 (const LMatrix3 &m)
 
EXPCL_PANDABULLET btTransform LMatrix4_to_btTrans (const LMatrix4 &m)
 
EXPCL_PANDABULLET btQuaternion LQuaternion_to_btQuat (const LQuaternion &q)
 
EXPCL_PANDABULLET btVector3 LVecBase3_to_btVector3 (const LVecBase3 &v)
 
EXPCL_PANDABULLET btTransform TransformState_to_btTrans (CPT(TransformState) ts)
 

Variables

EXPCL_PANDABULLET const LVecBase3 & scale =LVecBase3(1.0f, 1.0f, 1.0f))
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
enn0x
Date
2010-01-23

Definition in file bullet_utils.h.

Enumeration Type Documentation

◆ BulletUpAxis

enum BulletUpAxis

Definition at line 52 of file bullet_utils.h.

Function Documentation

◆ btMatrix3x3_to_LMatrix3()

EXPCL_PANDABULLET LMatrix3 btMatrix3x3_to_LMatrix3 ( const btMatrix3x3 & m)

Definition at line 72 of file bullet_utils.cxx.

◆ btQuat_to_LQuaternion()

EXPCL_PANDABULLET LQuaternion btQuat_to_LQuaternion ( const btQuaternion & q)

Definition at line 95 of file bullet_utils.cxx.

◆ btTrans_to_LMatrix4()

EXPCL_PANDABULLET LMatrix4 btTrans_to_LMatrix4 ( const btTransform & tf)

Definition at line 120 of file bullet_utils.cxx.

◆ btVector3_to_LPoint3()

EXPCL_PANDABULLET LPoint3 btVector3_to_LPoint3 ( const btVector3 & p)

Definition at line 51 of file bullet_utils.cxx.

◆ btVector3_to_LVecBase3()

EXPCL_PANDABULLET LVecBase3 btVector3_to_LVecBase3 ( const btVector3 & v)

Definition at line 31 of file bullet_utils.cxx.

◆ btVector3_to_LVector3()

EXPCL_PANDABULLET LVector3 btVector3_to_LVector3 ( const btVector3 & v)

Definition at line 41 of file bullet_utils.cxx.

◆ get_bullet_version()

EXPCL_PANDABULLET int get_bullet_version ( )

Returns the version of the linked Bullet library.

Definition at line 211 of file bullet_utils.cxx.

◆ get_default_up_axis()

EXPCL_PANDABULLET BulletUpAxis get_default_up_axis ( )

Definition at line 160 of file bullet_utils.cxx.

◆ get_node_transform()

EXPCL_PANDABULLET void get_node_transform ( btTransform & trans,
PandaNode * node )

Definition at line 180 of file bullet_utils.cxx.

◆ LMatrix3_to_btMatrix3x3()

EXPCL_PANDABULLET btMatrix3x3 LMatrix3_to_btMatrix3x3 ( const LMatrix3 & m)

Definition at line 61 of file bullet_utils.cxx.

◆ LMatrix4_to_btTrans()

EXPCL_PANDABULLET btTransform LMatrix4_to_btTrans ( const LMatrix4 & m)

Definition at line 106 of file bullet_utils.cxx.

◆ LQuaternion_to_btQuat()

EXPCL_PANDABULLET btQuaternion LQuaternion_to_btQuat ( const LQuaternion & q)

Definition at line 84 of file bullet_utils.cxx.

◆ LVecBase3_to_btVector3()

EXPCL_PANDABULLET btVector3 LVecBase3_to_btVector3 ( const LVecBase3 & v)

Definition at line 21 of file bullet_utils.cxx.

◆ TransformState_to_btTrans()

EXPCL_PANDABULLET btTransform TransformState_to_btTrans ( CPT(TransformState) ts)

Definition at line 142 of file bullet_utils.cxx.

Variable Documentation

◆ scale

EXPCL_PANDABULLET const LVecBase3& scale =LVecBase3(1.0f, 1.0f, 1.0f))

Definition at line 42 of file bullet_utils.h.