earlygrey / shapedrawer

A library for libGDX that draws simple shapes using a batch.
MIT License
185 stars 32 forks source link

Update ShapeDrawer.java #66

Open carlrthomas opened 1 year ago

carlrthomas commented 1 year ago

(Second attempt) Added a triangle(x1,y1,x2,y2,x3,y3,Color,lineWidth) overload, to match signatures for other shapes.

Also updated comments/doc to correct previous references to "Color" object fields for triangle() methods as "the packed float colour" to "the colour of all outer lines"