Revert "Mobile support"

This reverts commit bfa7e277d3.
This commit is contained in:
Thomas FORGIONE 2015-04-08 15:56:45 +02:00
parent bfa7e277d3
commit 0353888f9e
2 changed files with 0 additions and 4 deletions

View File

@ -41,11 +41,8 @@ var PointerCamera = function() {
document.addEventListener('keydown', onKeyDown, false);
document.addEventListener('keyup', onKeyUp, false);
document.addEventListener('mousedown', onMouseDown, false);
document.addEventListener('touchstart', onMouseDown, false);
document.addEventListener('mousemove', onMouseMove, false);
document.addEventListener('touchmove', onMouseMove, false);
document.addEventListener('mouseup', onMouseUp, false);
document.addEventListener('touchend', onMouseUp, false);
}
PointerCamera.prototype = Object.create(THREE.PerspectiveCamera.prototype);
PointerCamera.prototype.constructor = PointerCamera;

View File

@ -87,7 +87,6 @@ function init() {
window.addEventListener('resize', onWindowResize, false);
container.addEventListener('mousedown', click, false);
container.addEventListener('touchstart', click, false);
// Load the scene
loadScene();