|
Bomberman
|
Ray in a three-dimensionnal space. More...
#include <Ray.hpp>
Public Member Functions | |
| Ray (const Vector3 &startPosition, const Vector3 &direction, const Color &color) | |
| Ray constructor. More... | |
| Ray (const Ray &)=default | |
| A default copy constructor. More... | |
| Ray & | operator= (const Ray &)=default |
| A line is assignable. More... | |
| ~Ray () override=default | |
| A default destructor. More... | |
| const Vector3 & | getDirection (void) const |
| Ray & | setDirection (const Vector3 &direction) |
| Set end position. More... | |
| void | drawOn (RAY::Window &) override |
| Draw point on window. More... | |
Public Member Functions inherited from RAY::Drawables::ADrawable3D | |
| ADrawable3D (const RAY::Vector3 &position, const RAY::Color &color) | |
| ADrawable3D (const ADrawable3D &)=default | |
| A default copy constructor. More... | |
| ~ADrawable3D () override=default | |
| A default destructor. More... | |
| virtual void | drawWiresOn (RAY::Window &) |
| Draw drawble's wires on window. More... | |
| const RAY::Color & | getColor (void) const |
| ADrawable3D & | setColor (const RAY::Color &color) |
| set color More... | |
| const RAY::Color & | getDebugColor (void) const |
| ADrawable3D & | setDebugColor (const RAY::Color &debugColor) |
| set the debug color More... | |
| virtual const RAY::Vector3 & | getPosition (void) const |
| virtual ADrawable3D & | setPosition (const Vector3 &position) |
| set position More... | |
Public Member Functions inherited from RAY::Drawables::IDrawable | |
| virtual | ~IDrawable ()=default |
Private Attributes | |
| Vector3 | _direction |
Additional Inherited Members | |
Protected Attributes inherited from RAY::Drawables::ADrawable3D | |
| Vector3 | _position |
| Position of the ADrawable. More... | |
| Color | _color |
| Color of the ADrawable. More... | |
| Color | _debugColor = GREEN |
| Color of the ADrawable's Debug. More... | |
Ray in a three-dimensionnal space.
|
default |
A default copy constructor.
|
overridedefault |
A default destructor.
|
overridevirtual |
Draw point on window.
Implements RAY::Drawables::ADrawable3D.
| const RAY::Vector3 & RAY::Drawables::Drawables3D::Ray::getDirection | ( | void | ) | const |
|
private |
1.8.17