From 500930652e199a2d9b508843f9fdc15a250076b5 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Fri, 14 Aug 2009 22:14:04 +0000 Subject: [PATCH] move class outside of method --- src/BulletSoftBody/btSoftBody.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/BulletSoftBody/btSoftBody.cpp b/src/BulletSoftBody/btSoftBody.cpp index 57c761306..9f7d5bcad 100644 --- a/src/BulletSoftBody/btSoftBody.cpp +++ b/src/BulletSoftBody/btSoftBody.cpp @@ -704,6 +704,10 @@ void btSoftBody::clusterDCImpulse(Cluster* cluster,const btVector3& impulse) cluster->m_ndimpulses++; } +struct NodeLinks +{ + btAlignedObjectArray m_links; +}; @@ -748,11 +752,6 @@ int btSoftBody::generateBendingConstraints(int distance,Material* mat) if (distance == 2) { - struct NodeLinks - { - btAlignedObjectArray m_links; - }; - btAlignedObjectArray nodeLinks;