Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stop importing sRGBEncoding constant (#1037)
* fix: stop importing sRGBEncoding constant Since r162, three.js no longer exports the formerly deprecated sRGBEncoding constant. This replaces the import with the literal value to keep compatibility with older three.js versions until we release a new major version. fixes #1036 * fix: typescript fixes for compat-code
- Loading branch information