|
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. | |
Public Member Functions inherited from jGL::BoundingBox< float > | |
| 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 | |
Public Attributes inherited from jGL::BoundingBox< float > | |
| std::array< glm::tvec2< float >, 4 > | vertices |
| Vertices of bounding box. | |
A world space bounding box.
|
inline |
|
inline |
|
inline |
Returns a Transform for ShapeRenderer.