Panda3D
Public Member Functions | Static Public Member Functions

BulletTriangleMeshShape Class Reference

Inheritance diagram for BulletTriangleMeshShape:
BulletShape TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 BulletTriangleMeshShape (BulletTriangleMesh *mesh, bool dynamic, bool compress=true, bool bvh=true)
 The parameters 'compress' and 'bvh' are only used if 'dynamic' is set to FALSE.
 BulletTriangleMeshShape (const BulletTriangleMeshShape &copy)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
bool is_dynamic () const
bool is_static () const
void operator= (const BulletTriangleMeshShape &copy)
virtual btCollisionShape * ptr () const
void refit_tree (const LPoint3 &aabb_min, const LPoint3 &aabb_max)

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Detailed Description

Definition at line 31 of file bulletTriangleMeshShape.h.


Constructor & Destructor Documentation

BulletTriangleMeshShape::BulletTriangleMeshShape ( BulletTriangleMesh mesh,
bool  dynamic,
bool  compress = true,
bool  bvh = true 
)

The parameters 'compress' and 'bvh' are only used if 'dynamic' is set to FALSE.

Definition at line 31 of file bulletTriangleMeshShape.cxx.

References LPoint3f::zero().


Member Function Documentation

static void BulletTriangleMeshShape::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from BulletShape.

Definition at line 58 of file bulletTriangleMeshShape.h.

References BulletShape::init_type().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations