Simple plane class for rays which build up the edge of the bounding box of volume texture. More...
#include <Ray.h>
Public Member Functions | |
Ray (ngl::Vector _start, ngl::Vector _end) | |
Constructor for Ray. | |
ngl::Vector | getStart () const |
a method to get the start point of the Ray | |
ngl::Vector | getend () const |
a method to get the end point of the Ray | |
void | draw (const std::string &_shaderName, ngl::TransformStack &_transformStack) const |
draw method |
Simple plane class for rays which build up the edge of the bounding box of volume texture.
basic implementation file for the Axis class
Ray::Ray | ( | ngl::Vector | _start, | |
ngl::Vector | _end | |||
) |
void Ray::draw | ( | const std::string & | _shaderName, | |
ngl::TransformStack & | _transformStack | |||
) | const |
draw method
[in] | _shaderName | the mane of the shader for drawing obstacles |
[in] | _transform | our transform stack for drawing obstacles |