Fix lint errors

This commit is contained in:
Fuhrmann 2025-03-20 11:49:50 +01:00
parent e96d575312
commit f998ecd519
2 changed files with 3 additions and 3 deletions

View file

@ -48,13 +48,13 @@ export function buildCoordinateGrid(extent: Extent) {
const annotations = [];
for (let i = 0; i < xPairs.length - 1; i++) {
const [start, _] = xPairs[i];
const [start] = xPairs[i];
const label = createLabel(`${start.x.toFixed(0)}m`, start, Orientation.X);
annotations.push(label);
}
for (let i = 0; i < yPairs.length - 1; i++) {
const [start, _] = yPairs[i];
const [start] = yPairs[i];
const label = createLabel(`${start.y.toFixed(0)}m`, start, Orientation.Y);
annotations.push(label);
}

View file

@ -121,7 +121,7 @@ function onWindowResize(container: HTMLElement) {
function animate() {
// Set rotation of axes according to camera rotation
let rot = new Euler();
const rot = new Euler();
rot.x = -camera.rotation.x;
rot.y = camera.rotation.y;
rot.z = -camera.rotation.z;