@plasius/gpu-world-generator 0.0.12 → 0.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-world-generator",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "GPU-assisted world generation with hex-grid terrain synthesis.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -38,15 +38,15 @@
38
38
  "prepublishOnly": "npm run build && npm run pack:check"
39
39
  },
40
40
  "dependencies": {
41
- "@plasius/gpu-worker": "^0.1.10"
41
+ "@plasius/gpu-worker": "^0.1.11"
42
42
  },
43
43
  "devDependencies": {
44
- "@eslint/js": "^9.39.1",
45
- "@types/node": "^22.10.0",
46
- "@typescript-eslint/eslint-plugin": "^8.46.2",
47
- "@typescript-eslint/parser": "^8.46.2",
48
- "c8": "^10.1.3",
49
- "eslint": "^9.39.1",
44
+ "@eslint/js": "^10.0.1",
45
+ "@types/node": "^24.12.0",
46
+ "@typescript-eslint/eslint-plugin": "^8.57.1",
47
+ "@typescript-eslint/parser": "^8.57.1",
48
+ "c8": "^11.0.0",
49
+ "eslint": "^10.1.0",
50
50
  "globals": "^17.3.0",
51
51
  "tsup": "^8.5.0",
52
52
  "typescript": "^5.9.3"
package/src/tiles.ts CHANGED
@@ -270,7 +270,6 @@ export function serializeTileAssetBinary(asset: TileAsset): ArrayBuffer {
270
270
  view.setUint32(cursor, materialStride >>> 0, true);
271
271
  cursor += 4;
272
272
  view.setUint32(cursor, featureStride >>> 0, true);
273
- cursor += 4;
274
273
 
275
274
  let writeOffset = HEADER_BYTES;
276
275
  new Float32Array(buffer, writeOffset, heightCount).set(asset.height);
@@ -351,7 +350,6 @@ export function parseTileAssetBinary(input: ArrayBuffer | ArrayBufferView): Tile
351
350
  const materialStride = view.getUint32(cursor, true);
352
351
  cursor += 4;
353
352
  const featureStride = view.getUint32(cursor, true);
354
- cursor += 4;
355
353
 
356
354
  const heightBytes = heightCount * 4;
357
355
  const fieldBytes = fieldCount * 4;