#include <Axis.h>
Public Member Functions | |
Axis (ngl::Real _scale) | |
ctor [in] _scale uniform scale for the initial construction of the axis | |
~Axis () | |
dtor | |
void | draw (ngl::TransformStack &_transformStack, const std::string &_shaderName, ngl::Vector _position) |
draw method |
Simple Axis drawing.
void Axis::draw | ( | ngl::TransformStack & | _transformStack, | |
const std::string & | _shaderName, | |||
ngl::Vector | _position | |||
) |
draw method
pass in the TransformStack for the shader (should have all the tx needed)
[in] | _transformStack | our transform stack for drawing axis |
[in] | _shaderName | the name of the shader to invoke when drawing |
[in] | _position | the position of the 6 axises |