toji/gl-matrix

vector equals fails if one vector is all Infinity

bchirlsbiodigital opened this issue · 0 comments

equals([1, 2, 3], [Infinity, Infinity, Infinity]) // should be false but is true

I think it's because of the way it multiplies EPSILON by the maximum value. This probably needs a special case.

Thanks!