even more
This commit is contained in:
parent
82e092ba55
commit
8f50ebdb97
1 changed files with 1842 additions and 3095 deletions
|
|
@ -1,12 +1,4 @@
|
|||
// Production calls glMatrix.setMatrixArrayType(Array) before anything else
|
||||
// (backend/src/main.ts, frontend/src/index.ts), which makes every vector an f64
|
||||
// Array instead of the default Float32Array. Without the same call here the
|
||||
// suite pins the numerics of a build nobody ships — including module-level
|
||||
// scratch vectors, which are allocated the moment a module is imported.
|
||||
//
|
||||
// One call per installed gl-matrix: the prebuilt shared bundle keeps gl-matrix
|
||||
// external and resolves shared/node_modules, while the backend and frontend
|
||||
// sources the tests import directly resolve their own copies.
|
||||
// Production makes every vector an f64 Array before any module-level vector is allocated.
|
||||
import { createRequire } from 'node:module';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
|
|
|
|||
Loading…
Reference in a new issue