Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 6 bytes modified

beta.r3js.org
-=yb4f310 2018-02-16 12:48:27 +01:00
parent f67a2101dc
commit 0b6f2eabca
1 changed files with 6 additions and 7 deletions

View File

@ -227,7 +227,7 @@ GameLib.CustomCode.prototype.updateAttributeArrays = function(alpha) {
scale = this.updateInformation[i].scale; scale = this.updateInformation[i].scale;
this.offsetAttribute.setXYZ( this.offsetAttribute.setXYZ(
i, i*3,
offset.current.lerp( offset.current.lerp(
offset.target, offset.target,
alpha alpha
@ -235,18 +235,17 @@ GameLib.CustomCode.prototype.updateAttributeArrays = function(alpha) {
); );
this.scaleAttribute.setXYZ( this.scaleAttribute.setXYZ(
i, i*3,
scale.current.lerp( scale.current.lerp(
scale.target, scale.target,
alpha alpha
) )
); );
this.offsetAttribute.needsUpdate = true;
this.scaleAttribute.needsUpdate = true;
} }
this.offsetAttribute.needsUpdate = true;
this.scaleAttribute.needsUpdate = true;
}.bind(this); }.bind(this);