|
Bomberman
|
Line in a three-dimensionnal space. More...
#include <Line.hpp>
Public Member Functions | |
| Line (const Vector3 &startPosition, const Vector3 &endPosition, const Color &color) | |
| Line constructor. More... | |
| Line (const Line &)=default | |
| A default copy constructor. More... | |
| Line & | operator= (const Line &)=default |
| A line is assignable. More... | |
| ~Line () override=default | |
| A default destructor. More... | |
| const Vector3 & | getStartPosition (void) const |
| const Vector3 & | getEndPosition (void) const |
| Line & | setStartPosition (const Vector3 &startPosition) |
| Set start position. More... | |
| Line & | setEndPosition (const Vector3 &endPosition) |
| 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 | _endPosition |
| end position More... | |
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... | |
Line 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::Line::getEndPosition | ( | void | ) | const |
| const RAY::Vector3 & RAY::Drawables::Drawables3D::Line::getStartPosition | ( | void | ) | const |
Set end position.
Set start position.
|
private |
end position
1.8.17