hexgon => hexagon

This commit is contained in:
yuanchuan 2017-06-27 13:17:56 +08:00
parent cd71c82ede
commit c5871d3b79
2 changed files with 4 additions and 1 deletions

View File

@ -203,7 +203,7 @@
{ name: 'triangle' },
{ name: 'rhombus' },
{ name: 'pentagon' },
{ name: 'hexgon' },
{ name: 'hexagon' },
{ name: 'heptagon' },
{ name: 'octagon' },
{ name: 'cross' },

View File

@ -61,6 +61,9 @@ export function pentagon() {
export function hexgon() {
return polygon({ split: 6, start: 30 });
}
export function hexagon() {
return polygon({ split: 6, start: 30 });
}
export function heptagon() {
return polygon({ split: 7, start: -90});