local s=fromIndexArray(BLOCK)local P=fromIndexArray(WEDGE)local m=fromIndexArray(CORNERWEDGE)local T=cylinder(20)local w=icoSphere(2)return{Block=function(P,m)return vertShape(P,m,s)end,Wedge=function(s,m)return vertShape(s,m,P)end;CornerWedge=function(s,P)return vertShape(s,P,m)end,Cylinder=function(s,P)return vertShape(s,P,T)end;Ball=function(s,P)return vertShape(s,P,w)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,
}
