fix centering, poly scaling
This commit is contained in:
parent
18b6b8567a
commit
e608091603
4 changed files with 23 additions and 6 deletions
|
|
@ -615,6 +615,7 @@ class Polygon {
|
|||
* @returns {Polygon|Point} a new polygon centered on x=0, y=0, z=0
|
||||
*/
|
||||
center(point) {
|
||||
throw "does not work";
|
||||
let ap = newPoint(0, 0, 0, null),
|
||||
np = newPolygon(),
|
||||
pa = this.points;
|
||||
|
|
|
|||
Loading…
Reference in a new issue