… | … | ||
---|---|---|---|
147 | 147 | ||
148 | GLfloat fd = ctx.frustum.f.distance (center); | 148 | GLfloat fd = ctx.frustum.f.distance (center); |
149 | 149 | ||
150 | if (fd < -dia) | 150 | if (fd < -dia) |
151 | { | 151 | { |
152 | if (fd > -dia * 2) | 152 | if (fd < -dia * 2) |
153 | return; | 153 | return; |
154 | 154 | ||
155 | // cull, but do check for potential visibility | 155 | // cull, but do check for potential visibility |
156 | if (size ()) | 156 | if (size ()) |
157 | ctx.farlist.push_back (this); | 157 | ctx.farlist.push_back (this); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |