Skip to content

Commit

Permalink
Camera in block fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sa2urami committed Dec 5, 2024
1 parent 12df1f2 commit 4fffd67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prismarine-viewer/examples/webgpuRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ export class WebgpuRenderer {
tweenJs.update()
const fov = 90
this.camera.fov = fov
this.camera.near = 0.001;
this.camera.updateProjectionMatrix()
const oversize = 1.1

Expand Down

0 comments on commit 4fffd67

Please sign in to comment.