Corrected bug

This commit is contained in:
Thomas FORGIONE
2015-06-25 14:14:50 +02:00
parent 06e672bb22
commit ff56af77b8
2 changed files with 6 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ var main_section = document.getElementById('main-section');
var container_size = {
width: function() { return 1024; },
height: function() { return 768; }
}
};
var stats;
@@ -50,7 +50,7 @@ window.onbeforeunload = function() {
}
}
};
init();
@@ -79,7 +79,7 @@ function init() {
renderer = new THREE.WebGLRenderer({alpha:true, antialias:true});
// Collidable objects to prevent camera from traversing objects
var collidableObjects = new Array();
var collidableObjects = [];
// Initialize renderer
container = document.getElementById('container');