add mode key sohrtcuts, face selection re-triangulation
This commit is contained in:
parent
f221c44be6
commit
c960501a87
8 changed files with 95 additions and 22 deletions
|
|
@ -110,6 +110,10 @@ class Polygon {
|
|||
return this;
|
||||
}
|
||||
|
||||
fromVectors(array) {
|
||||
return this.addVerts(array.map(v => [ ...v ]).flat());
|
||||
}
|
||||
|
||||
toObject() {
|
||||
return {
|
||||
points: this.toArray(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue