get rid of nullptr and std::function

This commit is contained in:
Xuchen Han
2019-08-03 00:10:36 -07:00
parent 021cbb2a0e
commit c5d84c1a0b
5 changed files with 28 additions and 10 deletions

View File

@@ -59,7 +59,7 @@ void btDeformableContactProjection::update()
DeformableFrictionConstraint& friction = frictions[i];
for (int j = 0; j < constraint.m_contact.size(); ++j)
{
if (constraint.m_contact[j] == nullptr)
if (constraint.m_contact[j] == NULL)
{
// nothing needs to be done for dirichelet constraints
continue;