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.

25 lines
579 B

  1. export default function _iterableToArrayLimit(arr, i) {
  2. if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
  3. var _arr = [];
  4. var _n = true;
  5. var _d = false;
  6. var _e = undefined;
  7. try {
  8. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  9. _arr.push(_s.value);
  10. if (i && _arr.length === i) break;
  11. }
  12. } catch (err) {
  13. _d = true;
  14. _e = err;
  15. } finally {
  16. try {
  17. if (!_n && _i["return"] != null) _i["return"]();
  18. } finally {
  19. if (_d) throw _e;
  20. }
  21. }
  22. return _arr;
  23. }