add new assembly preference for enabling wasm testing
This commit is contained in:
parent
8d8d80aa77
commit
841df7b5a9
16 changed files with 178 additions and 100 deletions
|
|
@ -72,6 +72,7 @@
|
|||
};
|
||||
|
||||
/**
|
||||
* faulty when line doubles back at 180?
|
||||
* @param {Line} line
|
||||
* @returns {boolean}
|
||||
*/
|
||||
|
|
@ -85,7 +86,7 @@
|
|||
d2x = (p4.x - p3.x),
|
||||
d2y = (p4.y - p3.y);
|
||||
|
||||
return Math.abs( (d2y * d1x) - (d2x * d1y) ) < 0.000001;
|
||||
return Math.abs( (d2y * d1x) - (d2x * d1y) ) < 0.0001;
|
||||
};
|
||||
|
||||
/** ******************************************************************
|
||||
|
|
|
|||
Loading…
Reference in a new issue