14#ifndef PHYSXCONVEXMESH_H
15#define PHYSXCONVEXMESH_H
26class EXPCL_PANDAPHYSX PhysxConvexMesh :
public PhysxObject {
34 INLINE
void ls()
const;
35 INLINE
void ls(std::ostream &out,
int indent_level=0)
const;
38 INLINE PhysxConvexMesh();
39 INLINE ~PhysxConvexMesh();
41 INLINE NxConvexMesh *ptr()
const {
return _ptr; };
43 void link(NxConvexMesh *meshPtr);
53 static void init_type() {
54 PhysxObject::init_type();
56 PhysxObject::get_class_type());
59 return get_class_type();
63 return get_class_type();
unsigned int get_reference_count() const
Returns the reference count for shared meshes.
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(),...