14 #ifndef PHYSXSOFTBODYNODE_H 15 #define PHYSXSOFTBODYNODE_H 38 void set_from_geom(
const Geom *geom);
48 NxVec3 barycentricCoords;
52 void build_tetra_links();
53 bool update_tetra_links();
54 void update_normals();
55 void remove_tris_related_to_vertex(
const int vertexIndex);
56 NxVec3 compute_bary_coords(NxVec3 vertex, NxVec3 p0, NxVec3 p1, NxVec3 p2, NxVec3 p3)
const;
75 static void init_type() {
76 GeomNode::init_type();
78 GeomNode::get_class_type());
81 return get_class_type();
85 return get_class_type();
94 #endif // PHYSXSOFTBODYNODE_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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Renderable geometry which represents a soft body mesh.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A container for geometry primitives.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Defines a series of disconnected triangles.
TypeHandle is the identifier used to differentiate C++ class types.
A node that holds Geom objects, renderable pieces of geometry.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.