-- @/lua/common/mathlib.lua:1385
function containsOBB_Sphere(c1, x1, y1, z1, c2, r2)
tmpv1:setSub2(c1, c2)
local x1len, y1len, z1len = x1:length(), y1:length(), z1:length()
return abs(tmpv1:dot(x1))<=x1len*(x1len-r2) and abs(tmpv1:dot(y1))<=y1len*(y1len-r2) and abs(tmpv1:dot(z1))<=z1len*(z1len-r2)
end