소스 검색

LDrawLoader: Refactor, cache pre-parsed file contents (#23157)

* this.cache -> this.fileCache

* Add in parsed data cache

* small fixes

* material fixes

* Remove FileCache

* Use in order materials from the local scope if possible

* simplify fetchData, ensure fetch errors are caught, throw a real error

* clone result, material simplification

* improve clone result perf

* Fix colors

* simplify cache API
Garrett Johnson 3 년 전
부모
커밋
bd23028479
1개의 변경된 파일945개의 추가작업 그리고 801개의 파일을 삭제
  1. 945 801
      examples/jsm/loaders/LDrawLoader.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 945 - 801
examples/jsm/loaders/LDrawLoader.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.