#include "ClothConstraints.h" #include "ClothArchetype.h" #if NORTH_CLOTHS CLOTH_OPTIMISATIONS() void CClothSeparationConstraints::SetArchetypeData(const CClothArchetype& clothArchetype) { //Zero everything before setting up the data. Init(); //Store the number of constraints. m_iNumConstraints=clothArchetype.GetNumSeparationConstraints(); Assertf(m_iNumConstraints>0, "Zero constraints"); Assertf(m_iNumConstraints0, "Constraint rest length must be positive"); } */ } void CClothVolumeConstraints::SetArchetypeData(const class CClothArchetype& clothArchetype) { //Zero everything before setting up the data. Init(); //Store the number of constraints. m_iNumConstraints=clothArchetype.GetNumVolumeConstraints(); Assertf(m_iNumConstraints>0, "Zero constraints"); Assertf(m_iNumConstraints