17 INLINE PhysxSoftBodyNode::
18 PhysxSoftBodyNode(
const char *name) :
GeomNode(name) {
23 _prim->set_shade_model(Geom::SM_uniform);
25 _geom =
new Geom(_vdata);
26 _geom->add_primitive(_prim);
34 INLINE PhysxSoftBodyNode::
35 ~PhysxSoftBodyNode() {
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
A container for geometry primitives.
Defines a series of disconnected triangles.
A node that holds Geom objects, renderable pieces of geometry.
void add_geom(Geom *geom, const RenderState *state=RenderState::make_empty())
Adds a new Geom to the node.