14#ifndef PHYSXCONVEXMESHDESC_H
15#define PHYSXCONVEXMESHDESC_H
26class EXPCL_PANDAPHYSX PhysxConvexMeshDesc {
29 INLINE PhysxConvexMeshDesc();
30 INLINE ~PhysxConvexMeshDesc();
35 void set_vertex(
unsigned int idx,
const LPoint3f &vert);
39 const NxConvexMeshDesc &get_desc()
const;
43 NxConvexMeshDesc _desc;
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
void set_vertex(unsigned int idx, const LPoint3f &vert)
Sets a single vertex.
bool is_valid() const
Returns true if the descriptor is valid.
void set_from_node_path(const NodePath &np)
A convenience method to set the mesh data from a NodePath in a single call.
void set_num_vertices(unsigned int n)
Sets the number of vertices to be stored within this convex mesh.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.