Skip to content

Commit

Permalink
Fix imports for viewer (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 authored Sep 29, 2023
1 parent 50eadf8 commit 8b9f8b5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 12 deletions.
54 changes: 45 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"assets"
],
"dependencies": {
"@types/three": "^0.142.0",
"@types/three": "^0.156.0",
"skinview-utils": "^0.7.1",
"three": "^0.156.1"
},
Expand Down
5 changes: 3 additions & 2 deletions src/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
Vector2,
WebGLRenderer,
AmbientLight,
Mapping,
type Mapping,
CanvasTexture,
WebGLRenderTarget,
FloatType,
Expand All @@ -32,7 +32,8 @@ import {
Object3D,
} from "three";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
import { EffectComposer, FullScreenQuad } from "three/examples/jsm/postprocessing/EffectComposer.js";
import { EffectComposer } from "three/examples/jsm/postprocessing/EffectComposer.js";
import { FullScreenQuad } from "three/examples/jsm/postprocessing/Pass.js";
import { RenderPass } from "three/examples/jsm/postprocessing/RenderPass.js";
import { ShaderPass } from "three/examples/jsm/postprocessing/ShaderPass.js";
import { FXAAShader } from "three/examples/jsm/shaders/FXAAShader.js";
Expand Down

0 comments on commit 8b9f8b5

Please sign in to comment.