This commit is contained in:
Thomas FORGIONE 2015-05-15 12:07:52 +02:00
parent f8be821cc9
commit e67896341f
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ ReverseCamera.prototype.initExtremity = function() {
left.normalize(); left.normalize();
other.normalize(); other.normalize();
left = Tools.mul(left, 0.1); left = Tools.mul(left, this.size / 2 );
other = Tools.mul(other, 0.1); other = Tools.mul(other, this.size / 2);
var pyramidCenter = Tools.diff(this.position, Tools.mul(direction,0.25)) var pyramidCenter = Tools.diff(this.position, Tools.mul(direction,0.25))
geometry.vertices.push( geometry.vertices.push(