Skip to content

Commit

Permalink
Reformat with WebStorm formatter, see phetsims/chipper#814
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Mar 16, 2021
1 parent 7786cdb commit 0087394
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions js/Matrix3.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ class Matrix3 {
*/
toString() {
return `${this.m00()} ${this.m01()} ${this.m02()}\n${
this.m10()} ${this.m11()} ${this.m12()}\n${
this.m20()} ${this.m21()} ${this.m22()}`;
this.m10()} ${this.m11()} ${this.m12()}\n${
this.m20()} ${this.m21()} ${this.m22()}`;
}

/**
Expand Down
38 changes: 19 additions & 19 deletions js/Matrix4.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,22 +378,22 @@ class Matrix4 {
// the inner part of a CSS3 transform, but remember to add the browser-specific parts!
// NOTE: the toFixed calls are inlined for performance reasons
return `matrix3d(${
this.entries[ 0 ].toFixed( 20 )},${
this.entries[ 1 ].toFixed( 20 )},${
this.entries[ 2 ].toFixed( 20 )},${
this.entries[ 3 ].toFixed( 20 )},${
this.entries[ 4 ].toFixed( 20 )},${
this.entries[ 5 ].toFixed( 20 )},${
this.entries[ 6 ].toFixed( 20 )},${
this.entries[ 7 ].toFixed( 20 )},${
this.entries[ 8 ].toFixed( 20 )},${
this.entries[ 9 ].toFixed( 20 )},${
this.entries[ 10 ].toFixed( 20 )},${
this.entries[ 11 ].toFixed( 20 )},${
this.entries[ 12 ].toFixed( 20 )},${
this.entries[ 13 ].toFixed( 20 )},${
this.entries[ 14 ].toFixed( 20 )},${
this.entries[ 15 ].toFixed( 20 )})`;
this.entries[ 0 ].toFixed( 20 )},${
this.entries[ 1 ].toFixed( 20 )},${
this.entries[ 2 ].toFixed( 20 )},${
this.entries[ 3 ].toFixed( 20 )},${
this.entries[ 4 ].toFixed( 20 )},${
this.entries[ 5 ].toFixed( 20 )},${
this.entries[ 6 ].toFixed( 20 )},${
this.entries[ 7 ].toFixed( 20 )},${
this.entries[ 8 ].toFixed( 20 )},${
this.entries[ 9 ].toFixed( 20 )},${
this.entries[ 10 ].toFixed( 20 )},${
this.entries[ 11 ].toFixed( 20 )},${
this.entries[ 12 ].toFixed( 20 )},${
this.entries[ 13 ].toFixed( 20 )},${
this.entries[ 14 ].toFixed( 20 )},${
this.entries[ 15 ].toFixed( 20 )})`;
}

get cssTransform() { return this.getCSSTransform(); }
Expand Down Expand Up @@ -755,9 +755,9 @@ class Matrix4 {
*/
toString() {
return `${this.m00()} ${this.m01()} ${this.m02()} ${this.m03()}\n${
this.m10()} ${this.m11()} ${this.m12()} ${this.m13()}\n${
this.m20()} ${this.m21()} ${this.m22()} ${this.m23()}\n${
this.m30()} ${this.m31()} ${this.m32()} ${this.m33()}`;
this.m10()} ${this.m11()} ${this.m12()} ${this.m13()}\n${
this.m20()} ${this.m21()} ${this.m22()} ${this.m23()}\n${
this.m30()} ${this.m31()} ${this.m32()} ${this.m33()}`;
}

/**
Expand Down

0 comments on commit 0087394

Please sign in to comment.