Skip to content

Add a rotation property to RegularPolygon #55

@bfoz

Description

@bfoz

Generating the vertices requires knowing the angle of the first vertex, which would be equal to the rotation property. It currently assumes that the first vertex is on the X-axis, which is fine for most cases, but doesn't work when sides == 4 and isn't ideal for pentagons. Alternatively, special case those two situations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions