1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-31 20:11:59 +02:00
This commit is contained in:
Pomax
2019-03-28 10:15:33 -07:00
parent 6cc5404eb3
commit 6c7012f0ea
12 changed files with 31 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ function kappa(t, B):
dy = d.getY(t)
ddx = dd.getX(t)
ddy = dd.getY(t)
numerator = dx * ddy + dy * dx
numerator = dx * ddy - dxx * y
denominator = pow(dx*dx + dy*dy, 1.5)
return numerator / denominator
```