Panda3D
Functions | Variables
bullet_utils.cxx File Reference

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

#include "bullet_utils.h"
#include "transformState.h"

Go to the source code of this file.

Functions

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

Variables

LQuaternion quat = btQuat_to_LQuaternion(trans.getRotation())
 
const LVecBase3 & scale
 

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.cxx.

Function Documentation

◆ get_bullet_version()

int get_bullet_version ( )

Returns the version of the linked Bullet library.

Definition at line 210 of file bullet_utils.cxx.

Variable Documentation

◆ scale

const LVecBase3& scale
Initial value:
{
LVecBase3 pos = btVector3_to_LVector3(trans.getOrigin())

Definition at line 130 of file bullet_utils.cxx.