1
0
Fork 0

fix(core): Fix typo in points.mjs comment

This commit is contained in:
Benjamin F 2022-12-08 22:37:50 -08:00
parent 2dea45febd
commit 04b36cb1a1

View file

@ -320,7 +320,7 @@ Point.prototype.sitsRoughlyOn = function (that) {
* Returns slope of a line made by this Point and that Point * Returns slope of a line made by this Point and that Point
* *
* @param {Point} that - The Point that forms the line together with this Point * @param {Point} that - The Point that forms the line together with this Point
* @return {float} slote - The slope of the line made by this Point and that Point * @return {float} slope - The slope of the line made by this Point and that Point
*/ */
Point.prototype.slope = function (that) { Point.prototype.slope = function (that) {
return (that.__check().y - this.__check().y) / (that.x - this.x) return (that.__check().y - this.__check().y) / (that.x - this.x)