linear coll. resp. fix add

fix didn't cover all cases. Now it do
This commit is contained in:
Dander7BD 2014-01-14 09:14:17 +01:00
parent 50b5b2dbf9
commit cc68088298
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ namespace
break; break;
} }
} }
else
{
break;
}
// bounce // bounce
Float4 bounceD = normal * -Formula::CollisionResponse::Bounce( deuterState.GetRestitutionCoeff(), Float4 bounceD = normal * -Formula::CollisionResponse::Bounce( deuterState.GetRestitutionCoeff(),