Comparing version 0.4.0 to 0.4.1
@@ -24,2 +24,14 @@ 'use strict'; | ||
get x1() { | ||
return this.p1.x; | ||
} | ||
get y1() { | ||
return this.p1.y; | ||
} | ||
get x2() { | ||
return this.p2.x; | ||
} | ||
get y2() { | ||
return this.p2.y; | ||
} | ||
get vec() { | ||
@@ -26,0 +38,0 @@ return (0, _v2.default)(this.p2).sub(this.p1); |
{ | ||
"name": "lr-core", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Line Rider core library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,2 +14,14 @@ import V2 from '../../v2' | ||
get x1 () { | ||
return this.p1.x | ||
} | ||
get y1 () { | ||
return this.p1.y | ||
} | ||
get x2 () { | ||
return this.p2.x | ||
} | ||
get y2 () { | ||
return this.p2.y | ||
} | ||
get vec () { | ||
@@ -16,0 +28,0 @@ return V2(this.p2).sub(this.p1) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158774
5200