MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / copy

Method copy

src/common/overlay/levelRenderer/Matrix.js:62–70  ·  view source on GitHub ↗

* @function LevelRenderer.Tool.Matrix.prototype.copy * @description 复制矩阵。 * @param {(Float32Array|Array. )} out - 单位矩阵。 * @returns {(Float32Array|Array. )} 克隆矩阵。

(out, m)

Source from the content-addressed store, hash-verified

60 * @returns {(Float32Array|Array.<number>)} 克隆矩阵。
61 */
62 copy(out, m) {
63 out[0] = m[0];
64 out[1] = m[1];
65 out[2] = m[2];
66 out[3] = m[3];
67 out[4] = m[4];
68 out[5] = m[5];
69 return out;
70 }
71
72 /**
73 * @function LevelRenderer.Tool.Matrix.prototype.mul

Callers 15

UtilSpec.jsFile · 0.45
MatrixSpec.jsFile · 0.45
VectorSpec.jsFile · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45
fromObjMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected