# | Line 86 | Line 86 | CUBE *cu; | |
---|---|---|
86 | v1[j] = cumax[j]; | |
87 | v2[j] = cumin[j]; | |
88 | } | |
89 | < | if ((d1 = DOT(v1, f->norm) - f->const) > FTINY) |
89 | > | if ((d1 = DOT(v1, f->norm) - f->offset) > FTINY) |
90 | return(0); | |
91 | < | if ((d2 = DOT(v2, f->norm) - f->const) < -FTINY) |
91 | > | if ((d2 = DOT(v2, f->norm) - f->offset) < -FTINY) |
92 | return(0); | |
93 | /* intersect face */ | |
94 | for (j = 0; j < 3; j++) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |