@quake2ts/test-utils 0.0.825 → 0.0.828
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/shared/bsp.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quake2ts/test-utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.828",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"serve-handler": "^6.1.6",
|
|
56
56
|
"vitest": "^1.6.0",
|
|
57
57
|
"webgpu": "^0.3.8",
|
|
58
|
-
"@quake2ts/
|
|
59
|
-
"@quake2ts/
|
|
60
|
-
"@quake2ts/
|
|
61
|
-
"@quake2ts/
|
|
58
|
+
"@quake2ts/server": "0.0.828",
|
|
59
|
+
"@quake2ts/engine": "^0.0.828",
|
|
60
|
+
"@quake2ts/shared": "0.0.828",
|
|
61
|
+
"@quake2ts/game": "0.0.828"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"@quake2ts/engine": {
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
"typescript": "^5.9.3",
|
|
115
115
|
"vitest": "^4.0.16",
|
|
116
116
|
"webgpu": "^0.3.8",
|
|
117
|
-
"@quake2ts/engine": "^0.0.
|
|
118
|
-
"@quake2ts/game": "0.0.
|
|
119
|
-
"@quake2ts/
|
|
120
|
-
"@quake2ts/
|
|
117
|
+
"@quake2ts/engine": "^0.0.828",
|
|
118
|
+
"@quake2ts/game": "0.0.828",
|
|
119
|
+
"@quake2ts/shared": "0.0.828",
|
|
120
|
+
"@quake2ts/server": "0.0.828"
|
|
121
121
|
},
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"upng-js": "^2.1.0"
|
package/src/shared/bsp.ts
CHANGED
|
@@ -282,7 +282,8 @@ export function createTestBspMap(options: TestBspMapOptions = {}): BspMap {
|
|
|
282
282
|
|
|
283
283
|
const models: BspModel[] = [{
|
|
284
284
|
mins: [-1000, -1000, -1000], maxs: [1000, 1000, 1000], origin: [0,0,0],
|
|
285
|
-
headNode:
|
|
285
|
+
headNode: -1, // -1 points to Leaf 0 (implied, assuming simple map)
|
|
286
|
+
firstFace: 0, numFaces: faces.length
|
|
286
287
|
}];
|
|
287
288
|
|
|
288
289
|
const data: BspData = {
|