jGL
|
A world space bounding box. More...
#include <primitive.h>
Public Member Functions | |
WorldBoundingBox () | |
WorldBoundingBox (const std::array< glm::tvec2< float >, 4 > &v) | |
Transform | toTransform () |
Returns a Transform for ShapeRenderer. | |
![]() | |
BoundingBox () | |
BoundingBox (const std::array< glm::tvec2< float >, 4 > &v) | |
bool | in (float x, float y) |
If the point (x, y) is in the box. | |
Additional Inherited Members | |
![]() | |
std::array< glm::tvec2< float >, 4 > | vertices |
Vertices of bounding box. | |
A world space bounding box.
|
inline |
|
inline |
|
inline |
Returns a Transform for ShapeRenderer.