Skip to content

Commit

Permalink
docs(modeling): fix typo in torus
Browse files Browse the repository at this point in the history
  • Loading branch information
tjurkiewicz authored Dec 17, 2024
1 parent 68aa97a commit 1519c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modeling/src/primitives/torus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 })

Expand Down

0 comments on commit 1519c7d

Please sign in to comment.