1 |
– |
/* Copyright (c) 1986 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* o_face.c - routines for creating octrees for polygonal faces. |
6 |
|
* |
54 |
|
return(O_MISS); |
55 |
|
/* compute cube boundaries */ |
56 |
|
for (j = 0; j < 3; j++) |
57 |
< |
cumax[j] = (cumin[j] = cu->cuorg[j]) + cu->cusize; |
57 |
> |
cumax[j] = (cumin[j] = cu->cuorg[j]-FTINY) |
58 |
> |
+ cu->cusize + 2.0*FTINY; |
59 |
|
|
60 |
|
vloc = ABOVE | BELOW; /* check vertices */ |
61 |
|
for (i = 0; i < f->nv; i++) |