mirror of
https://github.com/supleed2/ELEC60015-HLP-CW.git
synced 2024-12-22 21:45:49 +00:00
Fixed issue where rightangle 3,5 segment wasn't plotted equidistantly.
This commit is contained in:
parent
a92cd4ea53
commit
781a47236d
|
@ -446,8 +446,8 @@ let initialWireVerticesFromPorts
|
||||||
[
|
[
|
||||||
{X = startX; Y = startY};
|
{X = startX; Y = startY};
|
||||||
{X = startX + Wire.stickLength; Y = startY};
|
{X = startX + Wire.stickLength; Y = startY};
|
||||||
{X = startX + Wire.stickLength; Y = startY + 1.5 * Wire.stickLength};
|
{X = startX + Wire.stickLength; Y = (startY + endY)/2.0};
|
||||||
{X = endX; Y = startY + 1.5 * Wire.stickLength};
|
{X = endX; Y = (startY + endY)/2.0};
|
||||||
{X = endX; Y = endY - Wire.stickLength};
|
{X = endX; Y = endY - Wire.stickLength};
|
||||||
{X = endX; Y = endY - Wire.stickLength};
|
{X = endX; Y = endY - Wire.stickLength};
|
||||||
{X = endX; Y = endY - Wire.stickLength};
|
{X = endX; Y = endY - Wire.stickLength};
|
||||||
|
|
Loading…
Reference in a new issue