From dc4b4d4975d54199b3addecfa2db17e64e51bb61 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 7 Jul 2015 10:45:30 +0200 Subject: [PATCH] Corrected bug --- js/l3d/apps/prototype/replay/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/l3d/apps/prototype/replay/main.js b/js/l3d/apps/prototype/replay/main.js index f643a54..766ff5e 100644 --- a/js/l3d/apps/prototype/replay/main.js +++ b/js/l3d/apps/prototype/replay/main.js @@ -221,8 +221,8 @@ function onWindowResize() { container.style.height = container_size.height() + "px"; renderer.setSize(container_size.width(), container_size.height()); - cameras.forEach(function(camera) {camera.aspect = container_size.width() / container_size.height();}); - cameras.forEach(function(camera) {camera.updateProjectionMatrix();}); + cameras.forEach(function(camera) {camera.camera.aspect = container_size.width() / container_size.height();}); + cameras.forEach(function(camera) {camera.camera.updateProjectionMatrix();}); render(); }