add mode key sohrtcuts, face selection re-triangulation

This commit is contained in:
Stewart Allen 2024-08-12 15:54:49 -04:00
commit c960501a87
8 changed files with 95 additions and 22 deletions

View file

@ -110,6 +110,10 @@ class Polygon {
return this;
}
fromVectors(array) {
return this.addVerts(array.map(v => [ ...v ]).flat());
}
toObject() {
return {
points: this.toArray(),