move class outside of method
This commit is contained in:
@@ -704,6 +704,10 @@ void btSoftBody::clusterDCImpulse(Cluster* cluster,const btVector3& impulse)
|
|||||||
cluster->m_ndimpulses++;
|
cluster->m_ndimpulses++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct NodeLinks
|
||||||
|
{
|
||||||
|
btAlignedObjectArray<int> m_links;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -748,11 +752,6 @@ int btSoftBody::generateBendingConstraints(int distance,Material* mat)
|
|||||||
if (distance == 2)
|
if (distance == 2)
|
||||||
{
|
{
|
||||||
|
|
||||||
struct NodeLinks
|
|
||||||
{
|
|
||||||
btAlignedObjectArray<int> m_links;
|
|
||||||
};
|
|
||||||
|
|
||||||
btAlignedObjectArray<NodeLinks> nodeLinks;
|
btAlignedObjectArray<NodeLinks> nodeLinks;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user