Panda3D
Public Member Functions | Static Public Member Functions

PhysxTriangleMeshShape Class Reference

A shapes which is used to represent an instance of an convex mesh. More...

#include "physxTriangleMeshShape.h"

Inheritance diagram for PhysxTriangleMeshShape:
PhysxShape PhysxObject PhysxEnums TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
void link (NxShape *shapePtr)
NxShape * ptr () const
void save_to_desc (PhysxTriangleMeshShapeDesc &shapeDesc) const
 Saves the state of the shape object to a descriptor.
void unlink ()

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

A shapes which is used to represent an instance of an convex mesh.

Definition at line 30 of file physxTriangleMeshShape.h.


Member Function Documentation

static void PhysxTriangleMeshShape::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 PhysxShape.

Definition at line 53 of file physxTriangleMeshShape.h.

References PhysxShape::init_type().

void PhysxTriangleMeshShape::save_to_desc ( PhysxTriangleMeshShapeDesc shapeDesc) const

Saves the state of the shape object to a descriptor.

Definition at line 60 of file physxTriangleMeshShape.cxx.


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