mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Update BlockShape.as
This commit is contained in:
parent
0a1a9924e0
commit
2211a7043c
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ public class BlockShape extends Shape {
|
|||
}
|
||||
|
||||
private function curve(p1x:int, p1y:int, p2x:int, p2y:int, roundness:Number = 0.42):void {
|
||||
// Compute the Bezier control point by following an orthogal vector from the midpoint
|
||||
// Compute the Bezier control point by following an orthogonal vector from the midpoint
|
||||
// of the line between p1 and p2 scaled by roundness * dist(p1, p2). The default roundness
|
||||
// approximates a circular arc. Negative roundness gives a concave curve.
|
||||
|
||||
|
|
Loading…
Reference in a new issue