( a, b, threshold )
| 19 | } from '../../utils/math-constants.js'; |
| 20 | |
| 21 | function compareBox( a, b, threshold ) { |
| 22 | |
| 23 | threshold = threshold || 0.0001; |
| 24 | return ( a.min.distanceTo( b.min ) < threshold && |
| 25 | a.max.distanceTo( b.max ) < threshold ); |
| 26 | |
| 27 | } |
| 28 | |
| 29 | export default QUnit.module( 'Maths', () => { |
| 30 |