diff --git a/fsilsam72g.js b/fsilsam72g.js index 20b13a2..5c7efb6 100644 --- a/fsilsam72g.js +++ b/fsilsam72g.js @@ -2,14 +2,14 @@ var camera = GameLib.EntityManager.Instance.findComponentById('knwkksjc7n'); -camera.lookAt.x = data.event.x * 0.01;//(window.clientWidth/ 2) + data.event.x; +camera.lookAt.x = (data.event.x * 0.01) - 0.5;//(window.clientWidth/ 2) + data.event.x; camera.lookAt.y = data.event.y * 0.01; //if (camera.lookAt.x < -0.5) { // camera.lookAt.x = -0.5; //} //var vector = new THREE.Vector3(); -/ + //vector.set( // ( data.event.clientX / window.innerWidth ) * 2 - 1, // - ( data.event.clientY / window.innerHeight ) * 2 + 1,