Corrected bug
This commit is contained in:
6
js/prototype/main.js
vendored
6
js/prototype/main.js
vendored
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user