#include <RenderableAABB.h>
Public Member Functions | |
RenderableAABB (const AABB &aabb) | |
void | render (RenderStateFlags flags) const |
Private Attributes | |
AABB | _aabb |
Adapter class that allows the rendering of an AABB as a wireframe cuboid. The class implements the OpenGLRenderable interface and accepts an AABB as a construction parameter.
Definition at line 15 of file RenderableAABB.h.
ui::RenderableAABB::RenderableAABB | ( | const AABB & | aabb | ) | [inline] |
Construct a RenderableAABB to render the provided AABB.
Definition at line 24 of file RenderableAABB.h.
void ui::RenderableAABB::render | ( | RenderStateFlags | flags | ) | const |
Render function from OpenGLRenderable interface.
AABB ui::RenderableAABB::_aabb [private] |
Definition at line 18 of file RenderableAABB.h.