love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 )
Draws a triangle.
Synopsis
love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 )
Parameters
mode |
DrawMode |
How to draw the triangle. |
x1 |
number |
The position of first point on the x-axis. |
y1 |
number |
The position of first point on the y-axis. |
x2 |
number |
The position of second point on the x-axis. |
y2 |
number |
The position of second point on the y-axis. |
x3 |
number |
The position of third point on the x-axis. |
y3 |
number |
The position of third point on the y-axis. |