Make comment more clear
This commit is contained in:
parent
45f86ea543
commit
14491c7eb3
|
@ -247,7 +247,7 @@ bool CollisionWorld::testAABBOverlap(const CollisionBody* body1,
|
||||||
return body1AABB.testCollision(body2AABB);
|
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 aabb AABB used to test for overlap
|
||||||
* @param overlapCallback Pointer to the callback class to report overlap
|
* @param overlapCallback Pointer to the callback class to report overlap
|
||||||
|
|
|
@ -147,7 +147,7 @@ class CollisionWorld {
|
||||||
bool testAABBOverlap(const CollisionBody* body1,
|
bool testAABBOverlap(const CollisionBody* body1,
|
||||||
const CollisionBody* body2) const;
|
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);
|
void testAABBOverlap(const AABB& aabb, OverlapCallback* overlapCallback, unsigned short categoryMaskBits = 0xFFFF);
|
||||||
|
|
||||||
/// Return true if two bodies overlap
|
/// Return true if two bodies overlap
|
||||||
|
|
Loading…
Reference in New Issue
Block a user