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 =
537537// / Set to C+11 standard value*2.0 where defined and to @ref PRECISE_EPSLN*2.0 otherwise.
538538// /
539539// / 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
541541// / than, for example, the double DBL_EPSILON value of 2.2204460492503131e-16.
542542// /
543543// / @note
544544// / 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)
546546// /
547547constexpr DBL gkDBL_epsilon =
548548 gkDBL_is_flt ?
@@ -560,7 +560,7 @@ constexpr DBL gkDBL_epsilon =
560560// / of the determined gkDBL_epsilon. The plan is to migrate base shapes to
561561// / this single value instead of the many different thresholds used today.
562562// / 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)
564564// /
565565constexpr DBL gkMinIsectDepthReturned = gkDBL_epsilon*(DBL)CX_IPOW(10 ,gkDBL_dig/2 +1 );
566566
You can’t perform that action at this time.
0 commit comments