Follow up to previous commit: tweak RE_RAYTRACE_EPSILON (correction value used

when checking neighbor faces against shadowing).
This commit is contained in:
Bastien Montagne 2014-04-21 20:17:10 +02:00
parent 3de8f255d7
commit 9b0ab89067
Notes: blender-bot 2023-02-14 10:46:08 +01:00
Referenced by commit cf178f71ac, Fix T42641, Graphical fragments showing on Blender 2.71 and higher when baking.
Referenced by issue #42641, Graphical fragments showing on Blender 2.71 and higher when baking.
Referenced by issue #39830, Viewer node update error in the compositor when using the seperate/combine YCbCr nodes
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ typedef struct Isect {
/* arbitrary, but can't use e.g. FLT_MAX because of precision issues */
#define RE_RAYTRACE_MAXDIST 1e15f
#define RE_RAYTRACE_EPSILON 0.0f
#define RE_RAYTRACE_EPSILON -FLT_EPSILON
#ifdef __cplusplus
}