Sync with Gitea: update scene, lights, camera; add models and textures
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import * as THREE from 'three';
|
||||
|
||||
export const camera = new THREE.PerspectiveCamera(
|
||||
30,
|
||||
27,
|
||||
window.innerWidth / window.innerHeight,
|
||||
0.1,
|
||||
1000
|
||||
);
|
||||
|
||||
// Камера смотрит в комнату через открытую стену
|
||||
camera.position.set(0, 0, 18);
|
||||
camera.lookAt(0, 1, 0);
|
||||
camera.position.set(0, 0, 0);
|
||||
camera.lookAt(0, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user