MCPcopy Create free account
hub / github.com/microsoft/SandDance / transformMat3

Function transformMat3

docs/app/js/sanddance-app.js:70012–70017  ·  view source on GitHub ↗
(out, a, m)

Source from the content-addressed store, hash-verified

70010 return out;
70011}
70012function transformMat3(out, a, m) {
70013 var x = a[0], y = a[1];
70014 out[0] = m[0] * x + m[3] * y + m[6];
70015 out[1] = m[1] * x + m[4] * y + m[7];
70016 return out;
70017}
70018function transformMat4(out, a, m) {
70019 var x = a[0];
70020 var y = a[1];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected