Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 74 bytes modified
parent
068a0dfecf
commit
fefb1c7619
|
@ -240,14 +240,22 @@ GameLib.CustomCode.prototype.updateAttributeArrays = function(alpha) {
|
||||||
alpha
|
alpha
|
||||||
);
|
);
|
||||||
|
|
||||||
offsets.push(offset.x, offset.y, offset.z);
|
offsets.push(
|
||||||
|
offset.current.x,
|
||||||
|
offset.current.y,
|
||||||
|
offset.current.z
|
||||||
|
);
|
||||||
|
|
||||||
scale.current.lerp(
|
scale.current.lerp(
|
||||||
scale.target,
|
scale.target,
|
||||||
alpha
|
alpha
|
||||||
);
|
);
|
||||||
|
|
||||||
scales.push(scale.x, scale.y, scale.z);
|
scales.push(
|
||||||
|
scale.current.x,
|
||||||
|
scale.current.y,
|
||||||
|
scale.current.z
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.offsetAttribute.setArray(new Float32Array(offsets));
|
this.offsetAttribute.setArray(new Float32Array(offsets));
|
||||||
|
|
Loading…
Reference in New Issue