22 INLINE PhysxClothNode::
23 PhysxClothNode(
const char *name) :
GeomNode(name) {
27 _vdata =
new GeomVertexData(
"", GeomVertexFormat::get_v3n3t2(), Geom::UH_stream);
30 _prim->set_shade_model(Geom::SM_uniform);
32 _geom =
new Geom(_vdata);
33 _geom->add_primitive(_prim);
46 INLINE PhysxClothNode::
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.