![]() |
Colliding Shapes
Ian Parberry's "Introduction to Game Physics"
|
Code for the AABB class CAabb2D. More...
#include "AABB.h"Functions | |
| bool | operator && (const CAabb2D &a, const CAabb2D &b) |
| bool | operator && (const CAabb2D &a, const Vector2 &p) |
Overloaded && operator to determine whether an AABB overlaps another AABB.
| a | An AABB. |
| b | An AABB. |
| bool operator&& | ( | const CAabb2D & | a, |
| const Vector2 & | p | ||
| ) |
Overloaded && operator to determine whether a point is inside an AABB.
| a | An AABB. |
| p | A point. |
1.8.14