web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
921 B

  1. var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
  2. function _createForOfIteratorHelperLoose(o, allowArrayLike) {
  3. var it;
  4. if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
  5. if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
  6. if (it) o = it;
  7. var i = 0;
  8. return function () {
  9. if (i >= o.length) return {
  10. done: true
  11. };
  12. return {
  13. done: false,
  14. value: o[i++]
  15. };
  16. };
  17. }
  18. throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  19. }
  20. it = o[Symbol.iterator]();
  21. return it.next.bind(it);
  22. }
  23. module.exports = _createForOfIteratorHelperLoose;
  24. module.exports["default"] = module.exports, module.exports.__esModule = true;