AireEngine
A 3D Open-World Game Engine
Loading...
Searching...
No Matches
source
utils
bbox.h
1
#pragma once
2
#include <glm/glm.hpp>
3
4
namespace
Aire {
6
struct
Box2D
{
7
glm::vec2
pMin
;
8
glm::vec2
pMax
;
9
};
10
}
11
12
//TODO Utility struct for a 3D bounding box
Aire::Box2D
Utility struct for a 2D bounding-box.
Definition
bbox.h:6
Aire::Box2D::pMax
glm::vec2 pMax
The max corner of the box.
Definition
bbox.h:8
Aire::Box2D::pMin
glm::vec2 pMin
The min corner of the box.
Definition
bbox.h:7
Generated by
1.10.0