[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source zbuf.c
Ton Roosendaal
ton at blender.org
Tue May 24 19:36:20 CEST 2005
ton (Ton Roosendaal) 2005/05/24 19:36:20 CEST
Modified files:
blender/source/blender/render/intern/source zbuf.c
Log:
Found float-related numerical instability with vertices lying EXACT on
the edge of an image. It should not be clipped, but comparisions with
floats then can go wrong... here the FLT_EPSILON is to the rescue.
/* smallest such that 1.0+FLT_EPSILON != 1.0 */
#define FLT_EPSILON 1.19209290e-07F
(Bug fix #2610)
Revision Changes Path
1.23 +6 -2 blender/source/blender/render/intern/source/zbuf.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/render/intern/source/zbuf.c.diff?r1=1.22&r2=1.23&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list