Skip to content

Commit

Permalink
fix(geom): fix typo in centroid() dispatch table
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 19, 2024
1 parent a2d5ec4 commit f1f986b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geom/src/centroid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const centroid: MultiFn1O<IShape, Vec, Maybe<Vec>> = defmulti<
tri3: "tri",
},
{
abbb: ($: AABBLike, out?) => maddN(out || [], $.size, 0.5, $.pos),
aabb: ($: AABBLike, out?) => maddN(out || [], $.size, 0.5, $.pos),

circle: ($: Circle, out?) => set(out || [], $.pos),

Expand Down

0 comments on commit f1f986b

Please sign in to comment.