Skip to content

Commit

Permalink
Updating 3D render camera to get closer to model
Browse files Browse the repository at this point in the history
  • Loading branch information
davidferlay committed Feb 13, 2025
1 parent 84b130c commit b006f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ModelViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default {
// Create Scene & Camera
this.scene = new THREE.Scene();
this.camera = new THREE.PerspectiveCamera(75, 500 / 500, 0.1, 1000);
this.camera.position.set(0, 100, 200);
this.camera.position.set(0, 70, 50);
this.camera.lookAt(0, 0, 0);
// Create Renderer
Expand Down

0 comments on commit b006f5f

Please sign in to comment.