use 45 degree offset from longest segment as hint angle
This commit is contained in:
parent
d9896c253e
commit
dc008fb28f
3 changed files with 5 additions and 6 deletions
|
|
@ -295,7 +295,7 @@ var gs_base_polygon = exports;
|
|||
};
|
||||
|
||||
/**
|
||||
* add fill angle hinting from longest segment
|
||||
* hint fill angle hinting from longest segment
|
||||
*/
|
||||
PRO.hintFillAngle = function() {
|
||||
var index = 0,
|
||||
|
|
@ -320,7 +320,6 @@ var gs_base_polygon = exports;
|
|||
|
||||
if (longest && this.circularity() >= mincir) {
|
||||
this.fillang = longest.p1.slopeTo(longest.p2).normal();
|
||||
// console.log([this.fillang,this.getZ(),this.id]);
|
||||
}
|
||||
|
||||
return this.fillang;
|
||||
|
|
|
|||
Loading…
Reference in a new issue