[ts] Closes #738, remove trailing whitespace

This commit is contained in:
badlogic 2016-10-20 14:48:13 +02:00
parent f5aba88921
commit 05551e9b16
4 changed files with 9 additions and 9 deletions

View File

@ -2416,4 +2416,4 @@
}
}
}
}
}

View File

@ -97,7 +97,7 @@ module spine {
this.c = lc;
this.d = ld;
this.worldX = x + skeleton.x;
this.worldY = y + skeleton.y;
this.worldY = y + skeleton.y;
return;
}
@ -253,7 +253,7 @@ module spine {
this.ay = this.worldY;
this.arotation = Math.atan2(this.c, this.a) * MathUtils.radDeg;
this.ascaleX = Math.sqrt(this.a * this.a + this.c * this.c);
this.ascaleY = Math.sqrt(this.b * this.b + this.d * this.d);
this.ascaleY = Math.sqrt(this.b * this.b + this.d * this.d);
this.ashearX = 0;
this.ashearY = Math.atan2(this.a * this.b + this.c * this.d, this.a * this.d - this.b * this.c) * MathUtils.radDeg;
return;
@ -283,7 +283,7 @@ module spine {
this.ascaleY = Math.sqrt(rb * rb + rd * rd);
this.ashearY = 0;
this.arotation = 90 - Math.atan2(rd, rb) * MathUtils.radDeg;
}
}
}
worldToLocal (world: Vector2) {

View File

@ -73,7 +73,7 @@ module spine {
this.drawOrder.push(slot);
}
this.ikConstraints = new Array<IkConstraint>();
this.ikConstraints = new Array<IkConstraint>();
for (let i = 0; i < data.ikConstraints.length; i++) {
let ikConstraintData = data.ikConstraints[i];
this.ikConstraints.push(new IkConstraint(ikConstraintData, this));
@ -109,7 +109,7 @@ module spine {
let pathConstraints = this.pathConstraints;
let ikCount = ikConstraints.length, transformCount = transformConstraints.length, pathCount = pathConstraints.length;
let constraintCount = ikCount + transformCount + pathCount;
outer:
for (let i = 0; i < constraintCount; i++) {
for (let ii = 0; ii < ikCount; ii++) {
@ -136,7 +136,7 @@ module spine {
}
for (let i = 0, n = bones.length; i < n; i++)
this.sortBone(bones[i]);
this.sortBone(bones[i]);
}
sortIkConstraint (constraint: IkConstraint) {
@ -217,7 +217,7 @@ module spine {
let bones = this.bones;
let i = 0;
while (i < pathBones.length) {
let boneCount = pathBones[i++];
let boneCount = pathBones[i++];
for (let n = i + boneCount; i < n; i++) {
let boneIndex = pathBones[i];
this.sortBone(bones[boneIndex]);

View File

@ -58,7 +58,7 @@ module spine {
* @param offset The worldVertices index to begin writing values. */
computeWorldVerticesWith (slot: Slot, start: number, count: number, worldVertices: ArrayLike<number>, offset: number) {
count += offset;
let skeleton = slot.bone.skeleton;
let skeleton = slot.bone.skeleton;
let deformArray = slot.attachmentVertices;
let vertices = this.vertices;
let bones = this.bones;