From e59a9d12a8c93c2c7315d406bf452234b7a935a3 Mon Sep 17 00:00:00 2001 From: John Collins Date: Tue, 4 Jul 2023 00:20:08 -0700 Subject: [PATCH] format bindings.js --- bindings/wasm/bindings.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bindings/wasm/bindings.js b/bindings/wasm/bindings.js index 58f0461f3..a78078d6b 100644 --- a/bindings/wasm/bindings.js +++ b/bindings/wasm/bindings.js @@ -182,7 +182,8 @@ Module.setup = function() { return (center ? man.translate([0., 0., -height / 2.]) : man); }; - Module.CrossSection.prototype.revolve = function(circularSegments = 0, revolveDegrees = 360.0) { + Module.CrossSection.prototype.revolve = function( + circularSegments = 0, revolveDegrees = 360.0) { return Module._Revolve(this, circularSegments, revolveDegrees); }; @@ -555,7 +556,8 @@ Module.setup = function() { return cs.extrude(height, nDivisions, twistDegrees, scaleTop, center); }; - Module.Manifold.revolve = function(polygons, circularSegments = 0, revolveDegrees = 360.0) { + Module.Manifold.revolve = function( + polygons, circularSegments = 0, revolveDegrees = 360.0) { const cs = (polygons instanceof CrossSectionCtor) ? polygons : Module.CrossSection(polygons, 'Positive');