| 1 |
< |
/* Copyright (c) 1992 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1995 Regents of the University of California */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
| 119 |
|
} |
| 120 |
|
src->srad = sqrt(src->srad); |
| 121 |
|
/* compute size vectors */ |
| 122 |
< |
if (f->nv == 4 || (f->nv == 5 && /* parallelogram case */ |
| 123 |
< |
dist2(VERTEX(f,0),VERTEX(f,4)) <= FTINY*FTINY)) |
| 122 |
> |
if (f->nv == 4) /* parallelogram case */ |
| 123 |
|
for (j = 0; j < 3; j++) { |
| 124 |
|
src->ss[SU][j] = .5*(VERTEX(f,1)[j]-VERTEX(f,0)[j]); |
| 125 |
|
src->ss[SV][j] = .5*(VERTEX(f,3)[j]-VERTEX(f,0)[j]); |