a上穿b,然后a再上穿c
最后b上穿c。只能近似用这种方式去球的
variable:n=0;
if cross(a,b) and n=0 then n:=1;
if n=1 and cross(a,c) then n:=2;
if n=2 and cross(b,c) then n:=3;
n=3就表示三角形了