# | Line 268 | Line 268 | putleaf( /* put a leaf in our tree */ | |
---|---|---|
268 | return(0); | |
269 | /* compute leaf location in view */ | |
270 | VCOPY(wp, qtL.wp[li]); | |
271 | < | viewloc(ip, &odev.v, wp); |
272 | < | if (ip[2] <= 0. || ip[0] < 0. || ip[0] >= 1. |
273 | < | || ip[1] < 0. || ip[1] >= 1.) |
271 | > | if (viewloc(ip, &odev.v, wp) != 1) |
272 | goto dropit; /* behind or outside view */ | |
273 | #ifdef DEBUG | |
274 | if (odev.v.type == VT_PAR | odev.v.vfore > FTINY) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |