Sha256: ee6b5bf509873c79f51f7371682f44cef23befbe9240a299ac1851d7d69dff3e

Contents?: true

Size: 773 Bytes

Versions: 4

Compression:

Stored size: 773 Bytes

Contents

(function (global, factory) {
  if (typeof define === "function" && define.amd) {
    define(["./scene.js"], factory);
  } else if (typeof exports !== "undefined") {
    factory(require("./scene.js"));
  } else {
    var mod = {
      exports: {}
    };
    factory(global.scene);
    global.offscreen = mod.exports;
  }
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_scene) {
  "use strict";

  _scene = _interopRequireDefault(_scene);

  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

  self.onmessage = function (message) {
    var data = message.data;
    (0, _scene.default)(data.drawingSurface, data.width, data.height, data.pixelRatio, data.path);
  };
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-js_wrap-three-0.1.5 lib-opal/js_wrap/three/offscreen/offscreen.js
opal-js_wrap-three-0.1.4 lib-opal/js_wrap/three/offscreen/offscreen.js
opal-js_wrap-three-0.1.3 lib-opal/js_wrap/three/offscreen/offscreen.js
opal-js_wrap-three-0.1.2 lib-opal/js_wrap/three/offscreen/offscreen.js