@@ -20,7 +20,7 @@ function Spherical( radius, phi, theta ) {
}
-Spherical.prototype = {
+Object.assign( Spherical.prototype, {
constructor: Spherical,
@@ -80,7 +80,7 @@ Spherical.prototype = {
-};
+} );
export { Spherical };