From 1519c7dfe123fd0d7a26d41ead77e7d5ca782fa2 Mon Sep 17 00:00:00 2001 From: Tomasz Jurkiewicz Date: Tue, 17 Dec 2024 06:53:32 +0100 Subject: [PATCH] docs(modeling): fix typo in torus --- 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 })