Enable rotation around z-axis

This commit is contained in:
Fuhrmann 2025-03-07 12:29:58 +01:00
parent 9ea7b3290d
commit 419b58fe56
2 changed files with 3 additions and 2 deletions

View file

@ -65,6 +65,7 @@ export function buildScene(container: HTMLElement, extent: Extent) {
);
camera.position.set(center.x, center.y - 125000, extent.zmax + 100000);
camera.up.set(0, 0, 1);
camera.lookAt(center);
// Initialize the renderer