Skip to content

Commit

Permalink
Revise comment about Bezier order
Browse files Browse the repository at this point in the history
  • Loading branch information
GregStanton committed Dec 3, 2024
1 parent a25cbaf commit 94ce58e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/shape/custom_shapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,8 @@ Bezier-based primitives (such as segments, triangle patches, and quad patches)
could be accommodated by letting order be an array. Then a segment could
have order [m], and a quad patch could have order [m, n], for example.
This would allow Shape.prototype.bezierVertex() to pass in the same data to
`primitiveShapeCreator()`, which it gets from #primitiveShapeCreators,
regardless of the type of primitive.
This would allow Shape.prototype.bezierVertex() to pass in the same type of
data to `primitiveShapeCreator()`, regardless of the type of primitive.
However, while Bezier segments are the only Bezier-based primitives supported,
order is implemented as a number, rather than an array.
Expand Down

0 comments on commit 94ce58e

Please sign in to comment.