Mobile support
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user