From 1e1c3bdf7502541f7be9577ba38c58a2d7e360ff Mon Sep 17 00:00:00 2001 From: Tomasz Jurkiewicz Date: Mon, 2 Dec 2024 23:24:59 +0100 Subject: [PATCH] Update torus.js: fix typo (s/two/too) --- packages/modeling/src/primitives/torus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modeling/src/primitives/torus.js b/packages/modeling/src/primitives/torus.js index 5aaf33079..22705ed6d 100644 --- a/packages/modeling/src/primitives/torus.js +++ b/packages/modeling/src/primitives/torus.js @@ -43,7 +43,7 @@ const torus = (options) => { if (!isGTE(startAngle, 0)) throw new Error('startAngle must be positive') if (!isGT(outerRotation, 0)) throw new Error('outerRotation must be greater than zero') - if (innerRadius >= outerRadius) throw new Error('inner circle is two large to rotate about the outer circle') + if (innerRadius >= outerRadius) throw new Error('inner circle is too large to rotate about the outer circle') let innerCircle = circle({ radius: innerRadius, segments: innerSegments })