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

Comparing libgender/oct.C (file contents):
Revision 1.62 by root, Tue Oct 19 15:34:58 2004 UTC vs.
Revision 1.63 by root, Tue Oct 19 18:44:07 2004 UTC

247 ctx.pixfact = ctx.perspfact / z; 247 ctx.pixfact = ctx.perspfact / z;
248 248
249 ctx.nz_far = max (ctx.nz_far, z + extent); 249 ctx.nz_far = max (ctx.nz_far, z + extent);
250 ctx.nz_near = min (ctx.nz_near, z - extent); 250 ctx.nz_near = min (ctx.nz_near, z - extent);
251 251
252 if (ctx.pass == view::DEPTH || evs.last + 1. > timer.now) 252 if (ctx.pass == view::DEPTH || evs.last + 0.3 > timer.now)
253 e->draw (ctx); 253 e->draw (ctx);
254 else 254 else
255 { 255 {
256 evs.last = timer.now; 256 evs.last = timer.now;
257 ctx.begin_occ_query (*this, e); 257 ctx.begin_occ_query (*this, e);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines