1
0

fix galaxy size

This commit is contained in:
syui 2024-04-29 15:06:28 +09:00
parent a8b2c2bb67
commit ba4b7e19ef
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

View File

@ -208,8 +208,8 @@ window.addEventListener('resize', () =>
*/ */
// Base camera // Base camera
const camera = new THREE.PerspectiveCamera(75, sizes.width / sizes.height, 0.1, 100) const camera = new THREE.PerspectiveCamera(75, sizes.width / sizes.height, 0.1, 100)
camera.position.x = 4 camera.position.x = 0
camera.position.y = 0.4 camera.position.y = 0.3
camera.position.z = 4 camera.position.z = 4
scene.add(camera) scene.add(camera)