14#ifndef PHYSXTRIANGLEMESHSHAPE_H
15#define PHYSXTRIANGLEMESHSHAPE_H
27class EXPCL_PANDAPHYSX PhysxTriangleMeshShape :
public PhysxShape {
30 INLINE PhysxTriangleMeshShape();
31 INLINE ~PhysxTriangleMeshShape();
36 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
38 void link(NxShape *shapePtr);
42 NxTriangleMeshShape *_ptr;
48 static void init_type() {
49 PhysxShape::init_type();
51 PhysxShape::get_class_type());
54 return get_class_type();
58 return get_class_type();
Descriptor class for PhysxTriangleMeshShape.
void save_to_desc(PhysxTriangleMeshShapeDesc &shapeDesc) const
Saves the state of the shape object to a descriptor.
TypeHandle is the identifier used to differentiate C++ class types.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...