Skip to content

Commit

Permalink
Fix three js 167 imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cmahnke committed Aug 19, 2024
1 parent 08e3547 commit ca729d9
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 21 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default [
"no-warning-comments": ["warn", {}],
"no-irregular-whitespace": ["warn", {}],
"no-console": ["warn", {}],
"no-undef": ["warn", {}],
},
},
{
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hdr-canvas",
"version": "0.0.7",
"version": "0.0.8",
"description": "HDR capable HTML canvas",
"main": "dist/hdr-canvas.js",
"files": [
Expand Down Expand Up @@ -44,15 +44,15 @@
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.6.0",
"prettier": "^3.3.2",
"rimraf": "^6.0.0",
"rollup": "^4.18.1",
"eslint": "^9.9.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.21.0",
"rollup-plugin-dts": "^6.1.1",
"three": "^0.167.0",
"three": "^0.167.1",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.0-alpha.10"
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0"
},
"dependencies": {
"colorjs.io": "^0.5.2"
Expand Down
4 changes: 2 additions & 2 deletions three/HDRWebGPUBackend.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import WebGPUBackend from 'three/addons/renderers/webgpu/WebGPUBackend.js';
import { GPUFeatureName, GPUTextureFormat } from 'three/addons/renderers/webgpu/utils/WebGPUConstants.js';
import WebGPUBackend from 'three/renderers/webgpu/WebGPUBackend.js';
import { GPUFeatureName, GPUTextureFormat } from 'three/renderers/webgpu/utils/WebGPUConstants.js';

class HDRWebGPUBackend extends WebGPUBackend {

Expand Down
4 changes: 2 additions & 2 deletions three/HDRWebGPURenderer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import WebGPU from './WebGPU.js';

import Renderer from 'three/addons/renderers/common/Renderer.js';
import WebGLBackend from 'three/addons/renderers/webgl/WebGLBackend.js';
import Renderer from 'three/renderers/common/Renderer.js';
import WebGLBackend from 'three/renderers/webgl/WebGLBackend.js';
import HDRWebGPUBackend from './HDRWebGPUBackend.js';

class HDRWebGPURenderer extends Renderer {
Expand Down

0 comments on commit ca729d9

Please sign in to comment.