fix problem with "polygon" variable

master
czeppi 2025-04-01 21:34:49 +02:00
parent 51a3872e28
commit f09ef6667c
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ function calcOval(x0, y0, phi0, len, r) {
// dist(A, 1): r // dist(A, 1): r
// atan2(A, B): phi // atan2(A, B): phi
polygon = []; var polygon = [];
const n = 4; const n = 4;
const dphi = Math.PI / n; // pi=180° const dphi = Math.PI / n; // pi=180°