Display custom polygon with XNA

Looking for a simple way to visualize a list of arbitrary vertices (on a 2d plane) ... I assume that I will need to do some tessellation and have to deal with concave / convex polygons, I'm not looking for crazy visualization here ... I just want to make a flat one figure.

Have others come across this need before? Any advice would be appreciated :-)

+3
source share
2 answers

You really are after triangulation.

Triangulator . , , , . , , ( ).

+2

, , msdn. SpaceWar .

0

Source: https://habr.com/ru/post/1782007/


All Articles