#include <Line.h>
Class Line
Inherits from Wireframe
Draws a line.
Definition at line 51 of file Line.h.
# LineROMSpec
A Line spec that is stored in ROM
Definition at line 40 of file Line.h.
# constructor()
Class' constructor
- Parameters
-
owner | Entity to which the wireframe attaches to |
lineSpec | Specification that determines how to configure the wireframe |
Definition at line 25 of file Line.c.
# draw()
Draw the wireframe to the frame buffers.
- Returns
- True if at least one pixel is drawn; false otherwise
Implements Wireframe.
Definition at line 62 of file Line.c.
# render()
void Line::render |
( |
Vector3D | relativePosition | ) |
|
|
virtual |
Prepare the wireframe for drawing.
- Parameters
-
relativePosition | Position relative to the camera's |
Reimplemented from Wireframe.
Definition at line 44 of file Line.c.
Starting point.
Definition at line 56 of file Line.h.
End point.
Definition at line 59 of file Line.h.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Component/VisualComponent/Wireframe/Line/Line.h
- VUEngine-Core/source/Component/VisualComponent/Wireframe/Line/Line.c