function GJK.new(V,K,q,I,y,S)local w=setmetatable({},GJK)w.SetA=V w.SetB=K w.CentroidA=q w.CentroidB=I w.SupportA=y w.SupportB=S return w end


function GJK.new(SetA, SetB, CentroidA, CentroidB, SupportA, SupportB)
	local self = setmetatable({}, GJK)
	
	self.SetA = SetA
	self.SetB = SetB
	self.CentroidA = CentroidA
	self.CentroidB = CentroidB
	self.SupportA = SupportA
	self.SupportB = SupportB

	return self
end
