Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 6 bytes modified
parent
f67a2101dc
commit
0b6f2eabca
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue