14#ifndef PHYSXCONVEXSHAPE_H
15#define PHYSXCONVEXSHAPE_H
27class EXPCL_PANDAPHYSX PhysxConvexShape :
public PhysxShape {
30 INLINE PhysxConvexShape();
31 INLINE ~PhysxConvexShape();
36 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
38 void link(NxShape *shapePtr);
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 PhysxConvexShape.
void save_to_desc(PhysxConvexShapeDesc &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(),...