Page 1 of 1

[SOLVED] LOVE draws filled concave polygons incorrectly.

Posted: Sun Sep 20, 2015 12:26 pm
by ffive
Making a game about island and waves.

Only filled concave polygons are drawn incorrectly.
ImageImage
How can I draw them, um, correctly?

Thanks in advance.

Re: [HELP] LOVE draws filled concave polygons incorrectly.

Posted: Sun Sep 20, 2015 12:38 pm
by Robin
[wiki]love.math.triangulate[/wiki]

Re: [HELP] LOVE draws filled concave polygons incorrectly.

Posted: Sun Sep 20, 2015 1:01 pm
by ffive
Well, actually i had an idea of decomposing the polygon. But, I was afraid that i'd have to write it myself.

Huge thanks, Robin. Going to contunue reading docs. :ultraglee: