|
|
Function
love.graphics.triangle( type, x1, y1, x2, y2, x3, y3 )
Note: When drawing a filled triangle, the coordinates must be passed in a counter-clockwise order.
Synopsis
love.graphics.triangle( type, x1, y1, x2, y2, x3, y3 )
Arguments
type
The type of triangle (outline/filled).
x1
First x-coordinate.
y1
First y-coordinate.
x2
Second x-coordinate.
y2
Second y-coordinate.
x3
Third x-coordinate.
y3
Third y-coordinate.
Returns
(Nothing)
Copyright © 2006-2008 LÖVE Development Team.
|