diff --git a/src/pixi/extras/PIXISpine.js b/src/pixi/extras/PIXISpine.js index f53c716..50c6358 100644 --- a/src/pixi/extras/PIXISpine.js +++ b/src/pixi/extras/PIXISpine.js @@ -225,7 +225,7 @@ slot.currentMeshName = meshName; } - attachment.computeWorldVertices(slot.bone.skeleton.x, slot.bone.skeleton.y, slot, slot.currentMesh.verticies); + attachment.computeWorldVertices(slot.bone.skeleton.x, slot.bone.skeleton.y, slot, slot.currentMesh.vertices); } else @@ -292,7 +292,7 @@ strip.drawMode = PIXI.Strip.DrawModes.TRIANGLES; strip.padding = 5; - strip.verticies = new PIXI.Float32Array(attachment.uvs.length); + strip.vertices = new PIXI.Float32Array(attachment.uvs.length); strip.uvs = attachment.uvs; strip.indices = attachment.triangles; diff --git a/src/pixi/extras/PIXISpine.js b/src/pixi/extras/PIXISpine.js index f53c716..50c6358 100644 --- a/src/pixi/extras/PIXISpine.js +++ b/src/pixi/extras/PIXISpine.js @@ -225,7 +225,7 @@ slot.currentMeshName = meshName; } - attachment.computeWorldVertices(slot.bone.skeleton.x, slot.bone.skeleton.y, slot, slot.currentMesh.verticies); + attachment.computeWorldVertices(slot.bone.skeleton.x, slot.bone.skeleton.y, slot, slot.currentMesh.vertices); } else @@ -292,7 +292,7 @@ strip.drawMode = PIXI.Strip.DrawModes.TRIANGLES; strip.padding = 5; - strip.verticies = new PIXI.Float32Array(attachment.uvs.length); + strip.vertices = new PIXI.Float32Array(attachment.uvs.length); strip.uvs = attachment.uvs; strip.indices = attachment.triangles; diff --git a/src/pixi/extras/Rope.js b/src/pixi/extras/Rope.js index 29b6460..161e1ed 100644 --- a/src/pixi/extras/Rope.js +++ b/src/pixi/extras/Rope.js @@ -17,7 +17,7 @@ PIXI.Strip.call( this, texture ); this.points = points; - this.verticies = new PIXI.Float32Array(points.length * 4); + this.vertices = new PIXI.Float32Array(points.length * 4); this.uvs = new PIXI.Float32Array(points.length * 4); this.colors = new PIXI.Float32Array(points.length * 2); this.indices = new PIXI.Uint16Array(points.length * 2); @@ -117,7 +117,7 @@ this.count-=0.2; - var verticies = this.verticies; + var vertices = this.vertices; var total = points.length, point, index, ratio, perpLength, num; @@ -150,10 +150,10 @@ perp.x *= num; perp.y *= num; - verticies[index] = point.x + perp.x; - verticies[index+1] = point.y + perp.y; - verticies[index+2] = point.x - perp.x; - verticies[index+3] = point.y - perp.y; + vertices[index] = point.x + perp.x; + vertices[index+1] = point.y + perp.y; + vertices[index+2] = point.x - perp.x; + vertices[index+3] = point.y - perp.y; lastPoint = point; }