Earcut polygon triangulation

JN 666total at wp.pl
Mon Feb 24 19:15:13 UTC 2020


On Sunday, 23 February 2020 at 16:20:09 UTC, Ahmet Sait wrote:
> Out of curiosity, why would you need to triangulate polygons 
> instead of using stencil buffer? I'm assuming you're using 
> OpenGL (or something similar) since you talked about your hobby 
> game. Any advantage of triangulating shapes? (anti-aliasing 
> maybe?)

Triangulation goes beyond rendering. I imagine this library might 
be useful when making a level editor for a DOOM-like 2.5D engine.


More information about the Digitalmars-d-announce mailing list