diff --git a/tuby5lj4di.js b/tuby5lj4di.js index 15737dd..3e0e8e6 100644 --- a/tuby5lj4di.js +++ b/tuby5lj4di.js @@ -152,17 +152,17 @@ GameLib.CustomCode.prototype.generateAnimationVectors = function(attributeData) console.warn('animation not ready'); } - var i; + var i, index0, index1, index2, itemSize; + itemSize = this.offsetAttribute.itemSize; + this.updateInformation = []; - - var index0 = this.offsetAttribute.itemSize * i; - var index1 = index0 + 1; - var index2 = index1 + 1; for (i = 0; i < this.offsetAttribute.count; i++) { - + index0 = itemSize * i; + index1 = index0 + 1; + index2 = index1 + 1; this.updateInformation.push( {