CrystalSpace

Public API Reference

CS::Physics::Bullet::SoftBodyHelper Struct Reference

General helper class for CS::Physics::Bullet::iSoftBody. More...

#include <ivaria/bullet.h>

List of all members.

Static Public Member Functions

static csPtr< iMeshFactoryWrapperCreateClothGenMeshFactory (iObjectRegistry *object_reg, const char *factoryName, iSoftBody *cloth)
 Create a genmesh from the given cloth soft body.

Detailed Description

General helper class for CS::Physics::Bullet::iSoftBody.

Definition at line 562 of file bullet.h.


Member Function Documentation

static csPtr<iMeshFactoryWrapper> CS::Physics::Bullet::SoftBodyHelper::CreateClothGenMeshFactory ( iObjectRegistry object_reg,
const char *  factoryName,
iSoftBody cloth 
) [inline, static]

Create a genmesh from the given cloth soft body.

The genmesh will be double sided, in order to have correct normals on both sides of the cloth (ie the vertices of the soft body will be duplicated for the genmesh). The duplication mode of the faces of the mesh generated is CS::Physics::Bullet::MESH_DUPLICATION_CONTIGUOUS, that parameter can therefore be used e.g. in CS::Animation::iSoftBodyAnimationControl::SetSoftBody().

Definition at line 573 of file bullet.h.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1