14 #ifndef PHYSXTRIANGLEMESHDESC_H 15 #define PHYSXTRIANGLEMESHDESC_H 32 INLINE
bool is_valid()
const;
34 void set_num_vertices(
unsigned int n);
35 void set_vertex(
unsigned int idx,
const LPoint3f &vert);
37 void set_num_triangles(
unsigned int n,
bool use_material_indices=
false);
38 void set_triangle(
unsigned int idx,
39 unsigned int i1,
unsigned int i2,
unsigned int i3,
40 unsigned int material_index=1);
42 void set_from_node_path(
const NodePath &np);
45 const NxTriangleMeshDesc &get_desc()
const;
50 NxMaterialIndex *_materials;
51 NxTriangleMeshDesc _desc;
56 #endif // PHYSXTRIANGLEMESHDESC_H 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.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...