[-] Remove unused configurations

This commit is contained in:
Hykilpikonna
2021-12-11 17:12:38 -05:00
parent 42b55d52c5
commit 151673c599
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -5,14 +5,9 @@ import {Color} from "three";
*/
export const config = {
background: '#333',
// Field of vision and cutoff frustum for near and far
cam: {fov: 50, near: 1, far: 5000},
// Mouse movement factor
mouseFactor: 20,
// Smooth movements (speeds are in terms of pixels per ms)
smooth: {mouseSpeed: 10 * window.devicePixelRatio},
-1
View File
@@ -104,7 +104,6 @@ function update(dt: number): void
export function start(id: string): void
{
scene = new THREE.Scene()
scene.background = new THREE.Color(config.background)
// Create camera
camera = new THREE.PerspectiveCamera(config.cam.fov, window.innerWidth / window.innerHeight,
config.cam.near, config.cam.far)