#include <SimpleObj.H>
Inherits IS3D::DrawObj.
Public Member Functions | |
| BoxObj (const Box &box, const Color4 &solidColor=Color4(1,.2,.2,.5), const Color4 &wireColor=Color3::black()) | |
| virtual | ~BoxObj () |
| void | draw () |
| Override this function and place your G3D draw calls inside it. | |
Protected Attributes | |
| Box | _box |
| Color4 | _solidColor |
| Color4 | _wireColor |
| IS3D::BoxObj::BoxObj | ( | const Box & | box, | |
| const Color4 & | solidColor = Color4(1,.2,.2,.5), |
|||
| const Color4 & | wireColor = Color3::black() | |||
| ) | [inline] |
References _box, _solidColor, and _wireColor.
| virtual IS3D::BoxObj::~BoxObj | ( | ) | [inline, virtual] |
| void IS3D::BoxObj::draw | ( | ) | [inline, virtual] |
Override this function and place your G3D draw calls inside it.
Implements IS3D::DrawObj.
References _box, _solidColor, and _wireColor.
Box IS3D::BoxObj::_box [protected] |
Color4 IS3D::BoxObj::_solidColor [protected] |
Color4 IS3D::BoxObj::_wireColor [protected] |
1.5.6