File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -537,12 +537,12 @@ constexpr int gkDBL_dig =
537
537
// / Set to C+11 standard value*2.0 where defined and to @ref PRECISE_EPSLN*2.0 otherwise.
538
538
// /
539
539
// / Using this value where we want a more accurate 'meaningful value not zero' tests than
540
- // / the EPSILON, SMALL_ENOUGH, etc. values which tend to be around 1e-10 which is much larger
540
+ // / the EPSILON, etc. values which tend to be around 1e-10 which is much larger
541
541
// / than, for example, the double DBL_EPSILON value of 2.2204460492503131e-16.
542
542
// /
543
543
// / @note
544
544
// / Using 2.0 multiplier due maths calculating coefficients for higher order polynomials
545
- // / introducing more than single bit/step error in practice.
545
+ // / introducing more than single bit/step error in practice. (at double currently 4.4e-16)
546
546
// /
547
547
constexpr DBL gkDBL_epsilon =
548
548
gkDBL_is_flt ?
@@ -560,7 +560,7 @@ constexpr DBL gkDBL_epsilon =
560
560
// / of the determined gkDBL_epsilon. The plan is to migrate base shapes to
561
561
// / this single value instead of the many different thresholds used today.
562
562
// / Aiming for both more accuracy and something which automatically adjust to
563
- // / the DBL type used.
563
+ // / the DBL type used. (at double currently 4.4e-8)
564
564
// /
565
565
constexpr DBL gkMinIsectDepthReturned = gkDBL_epsilon*(DBL)CX_IPOW(10 ,gkDBL_dig/2 +1 );
566
566
You can’t perform that action at this time.
0 commit comments