Mobile support

This commit is contained in:
Thomas FORGIONE
2015-04-08 15:54:57 +02:00
parent 5eec180fd5
commit bfa7e277d3
2 changed files with 4 additions and 0 deletions

View File

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