16#ifndef BT_CG_PROJECTION_H
17#define BT_CG_PROJECTION_H
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
void clear()
clear the array, deallocated memory. Generally it is better to use array.resize(0),...
void push_back(const T &_Val)
virtual void setConstraints()=0
const btAlignedObjectArray< btSoftBody::Node * > * m_nodes
btAlignedObjectArray< btSoftBody * > & m_softBodies
btAlignedObjectArray< btAlignedObjectArray< btVector3 > > TVArrayStack
virtual void reinitialize(bool nodeUpdated)
virtual ~btCGProjection()
btAlignedObjectArray< btVector3 > TVStack
virtual btScalar update()=0
btCGProjection(btAlignedObjectArray< btSoftBody * > &softBodies, const btScalar &dt)
btAlignedObjectArray< btAlignedObjectArray< btScalar > > TArrayStack
virtual void setIndices(const btAlignedObjectArray< btSoftBody::Node * > *nodes)
virtual void project(TVStack &x)=0
btVector3 can be used to represent 3D points and vectors.