MCPcopy Index your code
hub / github.com/jabbany/CommentCoreLibrary / equals

Method equals

src/core/CommentUtils.ts:93–100  ·  view source on GitHub ↗

* Check to see if two matrices are the same * @param {Matrix3D} input matrix b to compare to * @returns {boolean} indicator of whether two matrices are the same

(matrix:Matrix3D)

Source from the content-addressed store, hash-verified

91 * @returns {boolean} indicator of whether two matrices are the same
92 */
93 public equals(matrix:Matrix3D):boolean {
94 for (var i = 0; i < 16; i++) {
95 if (this._internalArray[i] !== matrix._internalArray[i]) {
96 return false;
97 }
98 }
99 return true;
100 }
101
102 /**
103 * Writes the matrix out to CSS compatible format

Callers 1

isIdentityMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected