Pie Menu/Inventory

You do it in a for loop:


for(int i  = 0; i < numItems ; ++i)
{
  x= ...
  y= ...
}