1
0
Fork 0

Docs and code cleanup

This commit is contained in:
Wouter van Wageningen 2023-04-28 18:26:55 +00:00
parent 486fde8b67
commit a5f141a586
3 changed files with 7 additions and 8 deletions

View file

@ -36,15 +36,15 @@ array | false utils.beamIntersectsCurve(
points.A = new Point(10, 10)
points.Acp = new Point(10, 40)
points.B = new Point(110, 70)
points.B = new Point(110, 10)
points.Bcp = new Point(110, 40)
points.E = new Point(50, 14)
points.D = new Point(55, 16)
points.E = new Point(45, 25)
points.D = new Point(65, 25)
paths.curve = new Path()
.move(points.A)
.curve(points.Acp, points.Bcp, points.B)
paths.line = new Path().move(points.E).line(points.D)
for (let p of utils.beamIntersectsCurve(
points.D,
points.E,