mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-06 10:28:40 +00:00
add support for reduced vectors and modified gram schmidt
This commit is contained in:
@@ -3051,9 +3051,6 @@ void btSoftBody::updateArea(bool averageArea)
|
||||
{
|
||||
Face& f = m_faces[i];
|
||||
f.m_ra = AreaOf(f.m_n[0]->m_x, f.m_n[1]->m_x, f.m_n[2]->m_x);
|
||||
f.m_rl[0] = (f.m_n[0]->m_x - f.m_n[1]->m_x).safeNorm();
|
||||
f.m_rl[1] = (f.m_n[0]->m_x - f.m_n[2]->m_x).safeNorm();
|
||||
f.m_rl[2] = (f.m_n[1]->m_x - f.m_n[2]->m_x).safeNorm();
|
||||
}
|
||||
|
||||
/* Node area */
|
||||
|
||||
Reference in New Issue
Block a user