Interface for the AABB class CAabb2D.
#include <windows.h>
#include <windowsx.h>
#include <d3d11_2.h>
#include <dxgi1_3.h>
#include <DirectXMath.h>
#include "SimpleMath.h"
◆ operator&&() [1/2]
Overloaded && operator to determine whether an AABB overlaps another AABB.
- Parameters
-
- Returns
- true if a and b overlap
◆ operator&&() [2/2]
| bool Shapes::operator&& |
( |
const CAabb2D & | a, |
|
|
const Vector2 & | p ) |
Overloaded && operator to determine whether a point is inside an AABB.
- Parameters
-
- Returns
- true if p is inside a.