Filling a concave polygon

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
Duster
Prole
Posts: 32
Joined: Fri Dec 19, 2014 8:34 pm
Location: Ontario, Canada

Filling a concave polygon

Post by Duster »

Is there any way I can do this? love.graphics.polygon's "fill" mode doesn't support them, so I can't use that or a stencil. I've tried meshes as well but no luck.
Assuming it also has an arbitrary amount of vertices, is it possible without headache?
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: Filling a concave polygon

Post by Azhukar »

User avatar
Duster
Prole
Posts: 32
Joined: Fri Dec 19, 2014 8:34 pm
Location: Ontario, Canada

Re: Filling a concave polygon

Post by Duster »

Neat, works perfectly. Thanks very much!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 57 guests