#include <SimpleObj.H>
Inherits IS3D::DrawObj.
Public Member Functions | |
| ArrowObj (const Vector3 &start, const Vector3 &direction, const Color4 &color=Color3::orange(), double scale=1.0) | |
| virtual | ~ArrowObj () |
| void | draw () |
| Override this function and place your G3D draw calls inside it. | |
Protected Attributes | |
| Vector3 | _start |
| Vector3 | _dir |
| Color4 | _color |
| double | _scale |
| IS3D::ArrowObj::ArrowObj | ( | const Vector3 & | start, | |
| const Vector3 & | direction, | |||
| const Color4 & | color = Color3::orange(), |
|||
| double | scale = 1.0 | |||
| ) | [inline] |
| virtual IS3D::ArrowObj::~ArrowObj | ( | ) | [inline, virtual] |
| void IS3D::ArrowObj::draw | ( | ) | [inline, virtual] |
Vector3 IS3D::ArrowObj::_start [protected] |
Referenced by ArrowObj(), and draw().
Vector3 IS3D::ArrowObj::_dir [protected] |
Referenced by ArrowObj(), and draw().
Color4 IS3D::ArrowObj::_color [protected] |
Referenced by ArrowObj(), and draw().
double IS3D::ArrowObj::_scale [protected] |
Referenced by ArrowObj(), and draw().
1.5.6