22 INLINE PhysxSoftBodyNode::
23 PhysxSoftBodyNode(
const char *name) :
GeomNode(name) {
25 _vdata =
new GeomVertexData(
"", GeomVertexFormat::get_v3n3t2(), Geom::UH_stream);
28 _prim->set_shade_model(Geom::SM_uniform);
30 _geom =
new Geom(_vdata);
31 _geom->add_primitive(_prim);
41 INLINE PhysxSoftBodyNode::
42 ~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.