Removed unused parameter

This commit is contained in:
Andreas Dahm
2026-04-16 10:06:57 +02:00
parent a349f630c6
commit f9797493ce

View File

@@ -69,7 +69,7 @@ export class PendulumCpuStrategy implements PendulumSimulationStrategy {
displayPlane.material = this.displayMaterial; displayPlane.material = this.displayMaterial;
// RTTs are rendered manually via writeTarget.render() -- do NOT add to customRenderTargets // RTTs are rendered manually via writeTarget.render() -- do NOT add to customRenderTargets
this.startRenderLoop(scene, engine, width, height); this.startRenderLoop(scene, width, height);
} }
updateParams(params: PendulumSimParams): void { updateParams(params: PendulumSimParams): void {
@@ -87,7 +87,7 @@ export class PendulumCpuStrategy implements PendulumSimulationStrategy {
this.scene = null; this.scene = null;
} }
private startRenderLoop(scene: Scene, engine: WebGPUEngine | Engine, width: number, height: number): void { private startRenderLoop(scene: Scene, width: number, height: number): void {
const resolution = new Vector2(width, height); const resolution = new Vector2(width, height);
scene.onBeforeRenderObservable.clear(); scene.onBeforeRenderObservable.clear();