From 0b6f2eabca3f3b77549ccc4f28aa1944583d6d04 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 16 Feb 2018 12:48:27 +0100 Subject: [PATCH] Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 6 bytes modified --- tuby5lj4di.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tuby5lj4di.js b/tuby5lj4di.js index 2e174ef..63edc9d 100644 --- a/tuby5lj4di.js +++ b/tuby5lj4di.js @@ -227,7 +227,7 @@ GameLib.CustomCode.prototype.updateAttributeArrays = function(alpha) { scale = this.updateInformation[i].scale; this.offsetAttribute.setXYZ( - i, + i*3, offset.current.lerp( offset.target, alpha @@ -235,18 +235,17 @@ GameLib.CustomCode.prototype.updateAttributeArrays = function(alpha) { ); this.scaleAttribute.setXYZ( - i, + i*3, scale.current.lerp( scale.target, alpha ) - ); - - this.offsetAttribute.needsUpdate = true; - this.scaleAttribute.needsUpdate = true; - + ); } + this.offsetAttribute.needsUpdate = true; + this.scaleAttribute.needsUpdate = true; + }.bind(this);