Corrected scrolling bug

This commit is contained in:
Thomas FORGIONE 2015-05-12 10:43:52 +02:00
parent bf1e6db58e
commit 3538c9b808
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// Disable scrolling
window.onscroll = function () { window.scrollTo(0, 0); };
var mesh_number = 25;
var renderer, scene, controls, cube, container, plane, mouse= {x:0, y:0};
var bigmesh;