11 register int i,j,en,ii,mi,m,mm,det,
start,nn;
12 register unsigned int planetab,planework;
20 for(i=0; m<r[
n]; i++){
21 if((planetab & (1<<i)) != 0){
22 planework=planetab & ~(1<<i);
23 det=
edge(f,
n,planetab,planework,r[
n],linetab,m);
33 if((planetab & (1<<i)) == 0){
34 planetab= planetab | (1<<i);
35 for(en=start; en<m; en=linetab[en].
next){
41 for(ii=0; linetab[en].
face[ii] !=
EMPTY; ii++){
43 nn=linetab[en].
face[ii];
52 planework = linetab[en].
plane & linetab[nn].
plane;
53 planework = planework | (1<<i);
54 det=
edge(f,n,planetab,planework,r[n],linetab,mm);
57 for(j=0; linetab[nn].
face[j] != en; j++)
59 linetab[nn].
face[j]=mm;
60 linetab[mm].
face[0]=nn;
70 face(linetab,mi,m,r[n],n);
face_init(linetab, int m, int r)
cone_pre(MATRIX x, int n, int p, MATRIX u, MATRIX s, MATRIX v, r, MATRIX f)
cone_post(MATRIX s, MATRIX v, r, n, linetab, int start, int m, w)
face(linetab, int mi, int m, int r, int n)
cone(MATRIX x, int n, int p, w)
static time_stamp_t start
int update_edge(linetab, int en, int start)
REAL fugo_calc(MATRIX f, linetab, int i, int en, int r)
edge(MATRIX f, int n, unsigned int planetab, unsigned int planework, int r, linetab, int m)