Skip to content

Commit

Permalink
decrease camera fov
Browse files Browse the repository at this point in the history
vertical fov 90 -> 50
  • Loading branch information
huww98 committed Dec 29, 2023
1 parent c9cfd5f commit 6df6881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BlueprintEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,10 @@ const root: Ref<HTMLDivElement | null> = ref(null);
const renderer = new WebGLRenderer({ antialias: true });
attachRenderer(root, renderer);
const camera = new PerspectiveCamera(90);
const camera = new PerspectiveCamera(50);
camera.near = 0.5;
camera.far = 3000;
camera.position.z = 1.5 * R;
camera.position.z = 2 * R;
attachCamera(root, camera);
const commandQueue = inject(commandQueueKey)!;
Expand Down

0 comments on commit 6df6881

Please sign in to comment.