From e67896341f76f5f094e4e182b35d1ba3c730f19a Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Fri, 15 May 2015 12:07:52 +0200 Subject: [PATCH] Correct --- static/js/prototype/ReverseCamera.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/prototype/ReverseCamera.js b/static/js/prototype/ReverseCamera.js index f56c9e0..5acb693 100644 --- a/static/js/prototype/ReverseCamera.js +++ b/static/js/prototype/ReverseCamera.js @@ -20,8 +20,8 @@ ReverseCamera.prototype.initExtremity = function() { left.normalize(); other.normalize(); - left = Tools.mul(left, 0.1); - other = Tools.mul(other, 0.1); + left = Tools.mul(left, this.size / 2 ); + other = Tools.mul(other, this.size / 2); var pyramidCenter = Tools.diff(this.position, Tools.mul(direction,0.25)) geometry.vertices.push(