feat: Allow pentagons and hexagons (#53)
Also update all dependencies. With this PR, one can process all of Joyce's elements through Book IV. Reviewed-on: #53 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
This commit is contained in:
parent
29dfc54646
commit
b1e480a4be
3 changed files with 64 additions and 63 deletions
|
@ -886,7 +886,8 @@ classHandler: Record<JoyceClass, ClassHandler> :=
|
|||
'point'
|
||||
moreParts[0].push newObj
|
||||
api.setVisible newObj, false
|
||||
/triangle|similar|parallelogram|application|quadrilateral|octagon/
|
||||
///triangle|similar|parallelogram|application|quadrilateral
|
||||
octagon|pentagon|hexagon///
|
||||
unless args.subpoints then return
|
||||
pt .= args.subpoints
|
||||
if method is 'parallelogram'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue