Fix linter errors

This commit is contained in:
Fuhrmann 2025-03-07 10:20:23 +01:00
parent 635d9b6292
commit 69666137ed
6 changed files with 9 additions and 204 deletions

View file

@ -32,7 +32,7 @@ export function unpackVertices(arrayBuffer: ArrayBuffer) {
ptr += FOURBYTE;
significantBits = readSignificantBits(dataView, ptr, bytesCount);
let value = 0.0;
for (var j = dim, i = 0; i < pointsCount; j += DIMENSIONS, i++) {
for (let j = dim, i = 0; i < pointsCount; j += DIMENSIONS, i++) {
value = significantBits.readBits(significantBitsCount, 0) | commonBits;
if (dim === 2) {
value = value / 100; // z values in pc_patch from DB are multiplied by 100