#include "pTypes.h" /** \addtogroup Cloth @{ */ //! Collection of flags describing the behavior of a cloth object. enum pClothFlag { /** \brief Enable/disable pressure simulation. Note: Pressure simulation only produces meaningful results for closed meshes. */ PCF_Pressure = (1<<0), /** \brief Makes the cloth static. */ PCF_Static = (1<<1), /** \brief PCF_Static = (1<<1),/*!cloth interaction (one way). With this flag set, cloth->object interaction is turned on as well. */ PCAF_ClothAttachmentTwoway = (1<<0), /** \brief When this flag is set, the attachment is tearable. \note If the cloth is attached to a dynamic shape using two way interaction half way torn attachments can generate unexpected impluses on the shape. To prevent this, only attach one row of cloth vertices to the shape. @see pClothDesc.attachmentTearFactor */ PCAF_ClothAttachmentTearable = (1<<1), }; /** @} */