use 45 degree offset from longest segment as hint angle

This commit is contained in:
Stewart Allen 2017-11-09 11:40:24 -05:00
commit dc008fb28f
3 changed files with 5 additions and 6 deletions

View file

@ -95,7 +95,7 @@ var gs_base_slope = exports;
PRO.invert = function() {
this.dx = -this.dx;
this.dy = -this.dy;
this.angle = 360 - this.angle;//Math.atan2(this.dy, this.dx) * RAD2DEG;
this.angle = 360 - this.angle;
return this;
};