ui::RenderableAABB Class Reference

#include <RenderableAABB.h>

Public Member Functions

 RenderableAABB (const AABB &aabb)
void render (RenderStateFlags flags) const

Private Attributes

AABB _aabb

Detailed Description

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.


Constructor & Destructor Documentation

ui::RenderableAABB::RenderableAABB ( const AABB &  aabb  )  [inline]

Construct a RenderableAABB to render the provided AABB.

Definition at line 24 of file RenderableAABB.h.


Member Function Documentation

void ui::RenderableAABB::render ( RenderStateFlags  flags  )  const

Render function from OpenGLRenderable interface.


Field Documentation

AABB ui::RenderableAABB::_aabb [private]

Definition at line 18 of file RenderableAABB.h.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2