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

Function max

libs/echarts/echarts.simple.js:1144–1148  ·  view source on GitHub ↗

* 求两个向量最大值 * @param {Vector2} out * @param {Vector2} v1 * @param {Vector2} v2

(out, v1, v2)

Source from the content-addressed store, hash-verified

1142 * @param {Vector2} v2
1143 */
1144function max(out, v1, v2) {
1145 out[0] = Math.max(v1[0], v2[0]);
1146 out[1] = Math.max(v1[1], v2[1]);
1147 return out;
1148}
1149
1150// TODO Draggable for group
1151// FIXME Draggable on element which has parent rotation or scale

Callers 3

echarts.simple.jsFile · 0.70
smoothBezierFunction · 0.70
getScaleExtentFunction · 0.70

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected