@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/dist/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/tiles.ts +0 -2
package/dist/index.cjs
CHANGED
|
@@ -1407,7 +1407,6 @@ function serializeTileAssetBinary(asset) {
|
|
|
1407
1407
|
view.setUint32(cursor, materialStride >>> 0, true);
|
|
1408
1408
|
cursor += 4;
|
|
1409
1409
|
view.setUint32(cursor, featureStride >>> 0, true);
|
|
1410
|
-
cursor += 4;
|
|
1411
1410
|
let writeOffset = HEADER_BYTES;
|
|
1412
1411
|
new Float32Array(buffer, writeOffset, heightCount).set(asset.height);
|
|
1413
1412
|
writeOffset += heightBytes;
|
|
@@ -1472,7 +1471,6 @@ function parseTileAssetBinary(input) {
|
|
|
1472
1471
|
const materialStride = view.getUint32(cursor, true);
|
|
1473
1472
|
cursor += 4;
|
|
1474
1473
|
const featureStride = view.getUint32(cursor, true);
|
|
1475
|
-
cursor += 4;
|
|
1476
1474
|
const heightBytes = heightCount * 4;
|
|
1477
1475
|
const fieldBytes = fieldCount * 4;
|
|
1478
1476
|
const materialBytes = materialCount;
|