ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/oct.C
(Generate patch)

Comparing libgender/oct.C (file contents):
Revision 1.25 by root, Wed Oct 6 07:45:20 2004 UTC vs.
Revision 1.26 by root, Wed Oct 6 09:40:50 2004 UTC

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 // but _do_ check 152 if (fd > -dia * 2)
153 return;
154
155 // cull, but do check for potential visibility
156 if (size ())
153 ctx.farlist.push_back (this); 157 ctx.farlist.push_back (this);
154 return;
155 } 158 }
156 } 159 }
157 160
158 if (size ()) 161 if (size ())
159 ctx.vislist.push_back (this); 162 ctx.vislist.push_back (this);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines