Skip to content
Snippets Groups Projects
Commit c5ec9247 authored by mehdierraes1's avatar mehdierraes1
Browse files

update index.js

parent 44794428
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import { GLTFLoader } from 'https://cdn.jsdelivr.net/npm/three@0.150.1/examples/ ...@@ -4,7 +4,7 @@ import { GLTFLoader } from 'https://cdn.jsdelivr.net/npm/three@0.150.1/examples/
import { OBJLoader } from 'https://cdn.jsdelivr.net/npm/three@0.150.1/examples/jsm/loaders/OBJLoader.js'; import { OBJLoader } from 'https://cdn.jsdelivr.net/npm/three@0.150.1/examples/jsm/loaders/OBJLoader.js';
const scene = new THREE.Scene(); const scene = new THREE.Scene();
scene.background = new THREE.Color(0x87CEEB); scene.background = new THREE.Color(0x87CEEB);
const camera = new THREE.PerspectiveCamera(60, window.innerWidth / window.innerHeight, 0.1, 5000); const camera = new THREE.PerspectiveCamera(60, window.innerWidth / window.innerHeight, 0.1, 5000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment