Finishing bevel for ring and wedge
This commit is contained in:
parent
906bbcfd72
commit
1d0d981556
4 changed files with 7 additions and 7 deletions
|
|
@ -127,7 +127,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
{
|
||||
var angle = range / (roundSegments - 1) * i;
|
||||
var rad = MathHelper.DegreesToRadians(angle);
|
||||
path.LineTo(width - Math.Sin(rad) * width, height - Math.Cos(rad) * height);
|
||||
path.LineTo(Math.Cos(rad) * width, Math.Sin(rad) * height);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue