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