Skip to content

Commit

Permalink
feat: increase visible frustum size
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlorentzon committed Nov 15, 2023
1 parent bf54640 commit 01673b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/RenderCamera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export class RenderCamera {
this._perspective = new THREE.PerspectiveCamera(
this._initialFov,
this._computeAspect(elementWidth, elementHeight),
0.1,
10000);
1e-3,
1e6);
this._perspective.position.copy(this._camera.position);
this._perspective.up.copy(this._camera.up);
this._perspective.lookAt(this._camera.lookat);
Expand Down

0 comments on commit 01673b1

Please sign in to comment.