fix galaxy size
This commit is contained in:
parent
a8b2c2bb67
commit
ba4b7e19ef
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user