1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:59:34 +02:00

slicer/slice.c (eq): increase epsilon from 1e-6 to 1e-5

The lower value incorrectly tripped a verticality test.
This commit is contained in:
Werner Almesberger 2015-01-13 21:25:24 -03:00
parent 5808a4001f
commit 02d2b28097

View File

@ -69,7 +69,7 @@ static void bbox(float x, float y)
static inline bool eq(float a, float b)
{
return fabsf(a - b) < 1e-6;
return fabsf(a - b) < 1e-5;
}