Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Oct 27, 2023
1 parent 5d823cf commit ec75bca
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/components/Scene.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ export default function Scene({sceneModel, lookatManager}) {
0.1,
1000,
)


// const sphereGeometry = new THREE.SphereGeometry(0.05, 32, 32);
// const sphereMaterial = new THREE.MeshBasicMaterial({ color: 0xffff00 });
// const hitSphere = new THREE.Mesh(sphereGeometry, sphereMaterial);
// scene.add(hitSphere);
// hitSphere.visible = false; // Initially hide the sphere



setCamera(camera)
lookatManager.setCamera(camera)
Expand All @@ -79,14 +70,9 @@ export default function Scene({sceneModel, lookatManager}) {
camera.updateProjectionMatrix()
}




// add an eventlistener to resize the canvas when window changes
window.addEventListener("resize", handleResize)



// set the renderer size
renderer.setSize(window.innerWidth, window.innerHeight)

Expand Down

0 comments on commit ec75bca

Please sign in to comment.