Explorar o código

move camera out

Gregg (Greggman/GMan) Tavares %!s(int64=7) %!d(string=hai) anos
pai
achega
fae0c80fd5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      threejs/threejs-scenegraph-sun-earth.html

+ 1 - 1
threejs/threejs-scenegraph-sun-earth.html

@@ -32,7 +32,7 @@ function main() {
   const zNear = 0.1;
   const zFar = 1000;
   const camera = new THREE.PerspectiveCamera(fov, aspect, zNear, zFar);
-  camera.position.set(0, 50, 0);
+  camera.position.set(0, 150, 0);
   camera.up.set(0, 0, 1);
   camera.lookAt(0, 0, 0);