[SOLVED] LOVE draws filled concave polygons incorrectly.

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
ffive
Prole
Posts: 16
Joined: Wed Oct 22, 2014 3:22 pm

[SOLVED] LOVE draws filled concave polygons incorrectly.

Post 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.
Last edited by ffive on Sun Sep 20, 2015 1:02 pm, edited 1 time in total.
.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

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

Post by Robin »

[wiki]love.math.triangulate[/wiki]
Help us help you: attach a .love.
User avatar
ffive
Prole
Posts: 16
Joined: Wed Oct 22, 2014 3:22 pm

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

Post 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:
.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙·.·˙
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 10 guests