Bugfix
This commit is contained in:
parent
92cdb42dca
commit
db949eeca0
@ -172,12 +172,6 @@ b3Cloth::b3Cloth(const b3ClothDef& def) :
|
|||||||
b3Particle* p = CreateParticle(pd);
|
b3Particle* p = CreateParticle(pd);
|
||||||
|
|
||||||
p->m_vertex = i;
|
p->m_vertex = i;
|
||||||
|
|
||||||
b3AABB3 aabb;
|
|
||||||
aabb.Set(p->m_position, p->m_radius);
|
|
||||||
|
|
||||||
p->m_treeId = m_particleTree.InsertNode(aabb, p);
|
|
||||||
|
|
||||||
m_vertexParticles[i] = p;
|
m_vertexParticles[i] = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user