MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / scale

Function scale

libs/echarts/echarts.simple.js:1046–1050  ·  view source on GitHub ↗

* 向量缩放 * @param {Vector2} out * @param {Vector2} v * @param {number} s

(out, v, s)

Source from the content-addressed store, hash-verified

1044 * @param {number} s
1045 */
1046function scale(out, v, s) {
1047 out[0] = v[0] * s;
1048 out[1] = v[1] * s;
1049 return out;
1050}
1051
1052/**
1053 * 向量归一化

Callers 1

smoothBezierFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected