MCPcopy Create free account
hub / github.com/alignoth/alignoth / mg

Function mg

resources/vega.min.js:11792–11808  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

11790 }
11791 const gg = ["l", 0, 0, 0, 0, 0, 0, 0];
11792 function mg(t, e, n) {
11793 const r = (gg[0] = t[0]);
11794 if ("a" === r || "A" === r)
11795 ((gg[1] = e * t[1]),
11796 (gg[2] = n * t[2]),
11797 (gg[3] = t[3]),
11798 (gg[4] = t[4]),
11799 (gg[5] = t[5]),
11800 (gg[6] = e * t[6]),
11801 (gg[7] = n * t[7]));
11802 else if ("h" === r || "H" === r) gg[1] = e * t[1];
11803 else if ("v" === r || "V" === r) gg[1] = n * t[1];
11804 else
11805 for (var i = 1, o = t.length; i < o; ++i)
11806 gg[i] = (i % 2 == 1 ? e : n) * t[i];
11807 return gg;
11808 }
11809 function yg(t, e, n, r, i, o) {
11810 var a,
11811 s,

Callers 1

ygFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected