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

Function vec4_transformMat3

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

Source from the content-addressed store, hash-verified

70165 return out;
70166}
70167function vec4_transformMat3(out, a, m) {
70168 const x = a[0];
70169 const y = a[1];
70170 const z = a[2];
70171 out[0] = m[0] * x + m[3] * y + m[6] * z;
70172 out[1] = m[1] * x + m[4] * y + m[7] * z;
70173 out[2] = m[2] * x + m[5] * y + m[8] * z;
70174 out[3] = a[3];
70175 return out;
70176}
70177
70178},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"2rssO":[function(require,module,exports) {
70179var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected