diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-21 22:17:10 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-21 22:27:19 +0400 |
commit | 9b0ab890676790bb1e8e77797629b889ea66f69e (patch) | |
tree | f4cee0a2ad83d0199ae853208385ba1ef0c8b0d8 /source/blender/render | |
parent | 3de8f255d756b849f764d0c50dadaaf20c517345 (diff) |
Follow up to previous commit: tweak RE_RAYTRACE_EPSILON (correction value used
when checking neighbor faces against shadowing).
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/include/rayintersection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/rayintersection.h b/source/blender/render/intern/include/rayintersection.h index 3607e66a237..9c0835af56f 100644 --- a/source/blender/render/intern/include/rayintersection.h +++ b/source/blender/render/intern/include/rayintersection.h @@ -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 } |