[gameprogrammer] Re: Let's play... Name That Algorithm! :)

Now your final processing list sets are [0,1,3] and [2]

So take the combination sets of those, which are:
0-1-3, 0-1, 0-3, 1-3, and 2

Dang, hit enter too fast. Since you're including single vertices in the output, the actual combination set is

0,1,2,3 (everything connects to itself in this case)
0-1-3 (fully connected mesh, of 3 vertices)

Not sure why you excluded some of those cases. Maybe I misunderstand the problem.

To unsubscribe go to http://gameprogrammer.com/mailinglist.html

Other related posts: