lovr.graphics.line
Draws lines between points. Each point will be connected to the previous point in the list.
lovr.graphics.line(x1, y1, z1, x2, y2, z2, ...)
Arguments
Name | Type | Description |
x1 | number | The x coordinate of the first point. |
y1 | number | The y coordinate of the first point. |
z1 | number | The z coordinate of the first point. |
x2 | number | The x coordinate of the second point. |
y2 | number | The y coordinate of the second point. |
z2 | number | The z coordinate of the second point. |
... | number | More points. |
Returns
Nothing
lovr.graphics.line(points)
Arguments
Name | Type | Description |
points | table | A table of point positions, as described above. |
Returns
Nothing
See also
lovr.graphics