mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
parent
f6cbff942f
commit
21eade668b
@ -1779,7 +1779,7 @@ spine.SkeletonBounds.prototype = {
|
||||
return inside;
|
||||
},
|
||||
/** Returns true if the polygon contains the line segment. */
|
||||
intersectsSegment: function (polygon, x1, y1, x2, y2) {
|
||||
polygonIntersectsSegment: function (polygon, x1, y1, x2, y2) {
|
||||
var nn = polygon.length;
|
||||
var width12 = x1 - x2, height12 = y1 - y2;
|
||||
var det1 = x1 * y2 - y1 * x2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user