Make comment more clear

This commit is contained in:
Daniel Chappuis 2018-07-01 17:24:24 +02:00
parent 45f86ea543
commit 14491c7eb3
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ bool CollisionWorld::testAABBOverlap(const CollisionBody* body1,
return body1AABB.testCollision(body2AABB);
}
// Report all the bodies that overlap with the aabb in parameter
// Report all the bodies which have an AABB that overlaps with the AABB in parameter
/**
* @param aabb AABB used to test for overlap
* @param overlapCallback Pointer to the callback class to report overlap

View File

@ -147,7 +147,7 @@ class CollisionWorld {
bool testAABBOverlap(const CollisionBody* body1,
const CollisionBody* body2) const;
/// Report all the bodies that overlap with the AABB in parameter
/// Report all the bodies which have an AABB that overlaps with the AABB in parameter
void testAABBOverlap(const AABB& aabb, OverlapCallback* overlapCallback, unsigned short categoryMaskBits = 0xFFFF);
/// Return true if two bodies overlap