auto-git:

[change] src/rendering/world-background-renderer.ts
This commit is contained in:
2026-04-22 12:55:08 +02:00
parent 5d389e1fe9
commit 10780d50de

View File

@@ -1,10 +1,10 @@
import { import {
BackSide, BackSide,
Camera,
Color, Color,
Group, Group,
Mesh, Mesh,
MeshBasicMaterial, MeshBasicMaterial,
PerspectiveCamera,
Scene, Scene,
ShaderMaterial, ShaderMaterial,
SphereGeometry, SphereGeometry,
@@ -246,7 +246,7 @@ export class WorldBackgroundRenderer {
this.overlayMesh.visible = overlayOpacity > NIGHT_BACKGROUND_EPSILON; this.overlayMesh.visible = overlayOpacity > NIGHT_BACKGROUND_EPSILON;
} }
syncToCamera(camera: PerspectiveCamera) { syncToCamera(camera: Camera) {
this.anchor.position.copy(camera.position); this.anchor.position.copy(camera.position);
} }
@@ -256,4 +256,4 @@ export class WorldBackgroundRenderer {
this.imageMaterial.dispose(); this.imageMaterial.dispose();
this.overlayMaterial.dispose(); this.overlayMaterial.dispose();
} }
} }