jGL
|
A drawable shape. More...
#include <shape.h>
Public Member Functions | |
Shape () | |
Shape (const Transform *tra, const glm::vec4 *c) | |
WorldBoundingBox | getWorldBoundingBox () const |
Get the WorldBoundingBox of the Shape. | |
ScreenBoundingBox | getScreenBoundingBox (const OrthoCam &camera) |
Get the ScreenBoundingBox of the Shape. | |
Public Attributes | |
const Transform * | transform |
const glm::vec4 * | colour |
A drawable shape.
|
inline |
|
inline |
|
inline |
Get the ScreenBoundingBox of the Shape.
camera | for projection to the screen. |
|
inline |
Get the WorldBoundingBox of the Shape.
const glm::vec4* jGL::Shape::colour |
const Transform* jGL::Shape::transform |