mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-30 19:50:01 +02:00
graphics-api docs
This commit is contained in:
@@ -53,7 +53,7 @@ computeCurvature(curve, t) {
|
||||
dd = curve.dderivative(t),
|
||||
num = d.x * dd.y - d.y * dd.x,
|
||||
qdsum = d.x * d.x + d.y * d.y,
|
||||
dnm = pow(qdsum, 3 / 2);
|
||||
dnm = qdsum ** 3/2;
|
||||
|
||||
if (num === 0 || dnm === 0) return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user