MCPcopy Create free account
hub / github.com/esengine/esengine / matrixDifference

Function matrixDifference

scripts/test-animation-times.mjs:198–204  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

196}
197
198function matrixDifference(a, b) {
199 let maxDiff = 0;
200 for (let i = 0; i < 16; i++) {
201 maxDiff = Math.max(maxDiff, Math.abs(a[i] - b[i]));
202 }
203 return maxDiff;
204}
205
206async function main() {
207 const { FBXLoader } = await import('../packages/asset-system/dist/index.js');

Callers 1

mainFunction · 0.85

Calls 1

maxMethod · 0.45

Tested by

no test coverage detected