rename HasHit method to hasHit
rename AddSingleResult to addSingleResult moved collision filtering for btCollisionWorld::rayTest and btCollisionWorld::convexSweepTest from argument to the callback needsCollision
This commit is contained in:
@@ -162,7 +162,7 @@ public:
|
||||
btTransform from(qFrom, source[i]);
|
||||
btTransform to(qTo, dest[i]);
|
||||
cw->convexSweepTest (&boxShape, from, to, cb);
|
||||
if (cb.HasHit ())
|
||||
if (cb.hasHit ())
|
||||
{
|
||||
hit_surface[i] = cb.m_hitPointWorld;
|
||||
hit_com[i].setInterpolate3(source[i], dest[i], cb.m_closestHitFraction);
|
||||
|
||||
Reference in New Issue
Block a user