摘要:
#include
#include
#include
#include
using namespace std;
const double eps=1e-6;
typedef struct point3
{ double x,y,z; point3(double x=0,double y=0,double z=0):x(x),y(y),z(z){}
}vector3;
struct face
{ point3 a,b,c,d; vector3 n; face(){} face(point3 a,point3 b,point3 c,point3 d,vector3 n):a(a),b... 阅读全文