diff --git a/libs/trackball-controls.js b/libs/trackball-controls.js index aaaa117..ed36ee5 100644 --- a/libs/trackball-controls.js +++ b/libs/trackball-controls.js @@ -5,7 +5,7 @@ THREE.TrackballControls = function (object, domElement) { ROTATE: 0, ZOOM: 0, PAN: 2, - TOUCH_ROTATE: 3, + TOUCH_ROTATE: 0, TOUCH_ZOOM_PAN: 0, }; diff --git a/scripts/app.js b/scripts/app.js index f9e1961..5375323 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -27,7 +27,7 @@ class App { initRenderer = () => { this.renderer = new THREE.WebGLRenderer({ alpha: true }); - this.renderer.setClearColor(0x000000, 1.0); + this.renderer.setClearColor(0x141416, 1.0); this.renderer.setSize(window.innerWidth, window.innerHeight); this.renderer.setPixelRatio(window.devicePixelRatio * 1.5); this.renderer.shadowMap.enabled = true;