@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.js
CHANGED
|
@@ -1303,7 +1303,6 @@ function serializeTileAssetBinary(asset) {
|
|
|
1303
1303
|
view.setUint32(cursor, materialStride >>> 0, true);
|
|
1304
1304
|
cursor += 4;
|
|
1305
1305
|
view.setUint32(cursor, featureStride >>> 0, true);
|
|
1306
|
-
cursor += 4;
|
|
1307
1306
|
let writeOffset = HEADER_BYTES;
|
|
1308
1307
|
new Float32Array(buffer, writeOffset, heightCount).set(asset.height);
|
|
1309
1308
|
writeOffset += heightBytes;
|
|
@@ -1368,7 +1367,6 @@ function parseTileAssetBinary(input) {
|
|
|
1368
1367
|
const materialStride = view.getUint32(cursor, true);
|
|
1369
1368
|
cursor += 4;
|
|
1370
1369
|
const featureStride = view.getUint32(cursor, true);
|
|
1371
|
-
cursor += 4;
|
|
1372
1370
|
const heightBytes = heightCount * 4;
|
|
1373
1371
|
const fieldBytes = fieldCount * 4;
|
|
1374
1372
|
const materialBytes = materialCount;
|