14#ifndef PHYSXTRIANGLEMESH_H
15#define PHYSXTRIANGLEMESH_H
25class EXPCL_PANDAPHYSX PhysxTriangleMesh :
public PhysxObject {
33 INLINE
void ls()
const;
34 INLINE
void ls(std::ostream &out,
int indent_level=0)
const;
37 INLINE PhysxTriangleMesh();
38 INLINE ~PhysxTriangleMesh();
40 INLINE NxTriangleMesh *ptr()
const {
return _ptr; };
42 void link(NxTriangleMesh *meshPtr);
52 static void init_type() {
53 PhysxObject::init_type();
55 PhysxObject::get_class_type());
58 return get_class_type();
62 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(),...