kld-intersections
kld-intersections copied to clipboard
Question on `ShapeInfo.rectangle`
With:
ShapeInfo.rectangle({x: 100, y: 150, width: 30, height: 10});
...I'm getting:
[
0: Point2D {x: 100, y: 150}
1: Point2D {x: 200, y: 300}
]
I would have expected the second point to be extrapolated from the height and width. Is this an error, or are the docs that mention mix-and-matching being ok not applicable here?
Thanks!
Hmm, that looks quite strange. I’m in the process of moving, so it will be a while before I can dive into this. I’ll get back to you as soon as I can.
Thanks for reporting this.
On Jul 13, 2021, at 4:37 PM, Brett Zamir @.***> wrote:
With:
ShapeInfo.rectangle({x: 100, y: 150, width: 30, height: 10}); ...I'm getting:
[ 0: Point2D {x: 100, y: 150} 1: Point2D {x: 200, y: 300} ] I would have expected the second point to be extrapolated from the height and width. Is this an error, or are the docs that mention mix-and-matching being ok not applicable here?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.