local Z=fromIndexArray(BLOCK)local x=fromIndexArray(WEDGE)local s=fromIndexArray(CORNERWEDGE)local F=cylinder(20)local i=icoSphere(2)return{Block=function(x,s)return vertShape(x,s,Z)end;Wedge=function(Z,s)return vertShape(Z,s,x)end,CornerWedge=function(Z,x)return vertShape(Z,x,s)end,Cylinder=function(Z,x)return vertShape(Z,x,F)end;Ball=function(Z,x)return vertShape(Z,x,i)end,GetCentroid=getCentroidFromSet,Classify=classify}


local BLOCK_ARRAY = fromIndexArray(BLOCK)
local WEDGE_ARRAY = fromIndexArray(WEDGE)
local CORNERWEDGE_ARRAY = fromIndexArray(CORNERWEDGE)
local CYLINDER_ARRAY = cylinder(20)
local SPHERE_ARRAY = icoSphere(2)

return {
	Block = function(cf, size2) return vertShape(cf, size2, BLOCK_ARRAY) end;
	Wedge = function(cf, size2) return vertShape(cf, size2, WEDGE_ARRAY) end;
	CornerWedge = function(cf, size2) return vertShape(cf, size2, CORNERWEDGE_ARRAY) end;
	Cylinder = function(cf, size2) return vertShape(cf, size2, CYLINDER_ARRAY) end;
	Ball = function(cf, size2) return vertShape(cf, size2, SPHERE_ARRAY) end;
	
	GetCentroid = getCentroidFromSet;
	Classify = classify;
}
