mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:26:27 +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:
parent
5808a4001f
commit
02d2b28097
@ -69,7 +69,7 @@ static void bbox(float x, float y)
|
|||||||
|
|
||||||
static inline bool eq(float a, float b)
|
static inline bool eq(float a, float b)
|
||||||
{
|
{
|
||||||
return fabsf(a - b) < 1e-6;
|
return fabsf(a - b) < 1e-5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user