Improve netcode and simplify (#4)
- Simplify the logic wherever possible to remove overengineering and simplify the netcode - Actually improve the netcode - The new lines are mainly the package locks and tests Reviewed-on: https://home.schmelczer.dev/git/andras/decla-red/pulls/4
This commit is contained in:
parent
5d854440ec
commit
93a7fe01ab
1 changed files with 15073 additions and 4754 deletions
13
test/setup.mjs
Normal file
13
test/setup.mjs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Use production's f64 vector type in every package. The import-order regression separately
|
||||
// verifies that physics constants also retain full precision before startup configures it.
|
||||
import { createRequire } from 'node:module';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
for (const path of [
|
||||
'../shared/node_modules/gl-matrix',
|
||||
'../backend/node_modules/gl-matrix',
|
||||
'../frontend/node_modules/gl-matrix',
|
||||
]) {
|
||||
require(path).glMatrix.setMatrixArrayType(Array);
|
||||
}
|
||||
Loading…
Reference in a new issue