|
@@ -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, 150, 0);
|
|
|
+ camera.position.set(0, 50, 0);
|
|
|
camera.up.set(0, 0, 1);
|
|
|
camera.lookAt(0, 0, 0);
|
|
|
|
|
@@ -42,7 +42,7 @@ function main() {
|
|
|
const color = 0xFFFFFF;
|
|
|
const intensity = 3;
|
|
|
const light = new THREE.PointLight(color, intensity);
|
|
|
- scene.add(light);
|
|
|
+ scene.add(light);/* j */
|
|
|
}
|
|
|
|
|
|
const objects = [];
|