anandthakker/euclid

systematic way to handle rounding error

Opened this issue · 0 comments

equalsWithin(threshold) approach works okay at the moment, but I want methods like shape.contains(point) on different classes, which means we need to abstract out the threshold state into something more portable than that closure.