Docs and code cleanup
This commit is contained in:
parent
486fde8b67
commit
a5f141a586
3 changed files with 7 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue