--


local spring = {};
local spring_mt = {__index = spring};

function spring.new(position, velocity, target, stiffness, damping, precision)
	local self = {};
	
	self.position = position;
	self.velocity = velocity;
	self.target = target;
	self.stiffness = stiffness;
	self.damping = damping;
	self.precision = precision;
	
	return setmetatable(self, spring_mt);
end
