Corrected (a little bit) sponza, add load.js to generate load in db

This commit is contained in:
Thomas FORGIONE
2015-09-14 10:39:15 +02:00
parent 4060b427f0
commit 29029ce33a
5 changed files with 72 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ function main() {
// Set the good size of cameras
onWindowResize();
if (locked)
if (locked !== undefined && locked)
startCanvas.render();
// Some config