14#ifndef PHYSXCLOTHMESHDESC_H
15#define PHYSXCLOTHMESHDESC_H
27class EXPCL_PANDAPHYSX PhysxClothMeshDesc {
30 INLINE PhysxClothMeshDesc();
31 INLINE ~PhysxClothMeshDesc();
37 const LPoint3f &vert,
const LPoint2f &texcoord);
41 unsigned int i1,
unsigned int i2,
unsigned int i3);
46 INLINE
const NxClothMeshDesc &get_desc()
const;
50 NxClothMeshDesc _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, const LPoint2f &texcoord)
Sets a single vertex.
bool is_valid() const
Returns true if the descriptor is valid.
void set_num_triangles(unsigned int n)
Sets the number of triangles to be stored in this triangle mesh.
void set_triangle(unsigned int idx, unsigned int i1, unsigned int i2, unsigned int i3)
Sets a single triangle, by providing the three indices i1, i2, i3.
void set_num_vertices(unsigned int n)
Sets the number of vertices to be stored within this triangle mesh.
void set_from_node_path(const NodePath &np)
A convenience method to set the mesh data from a NodePath in a single call.
This is our own Panda specialization on the default STL list.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.