Removed unused parameter
This commit is contained in:
@@ -69,7 +69,7 @@ export class PendulumCpuStrategy implements PendulumSimulationStrategy {
|
||||
displayPlane.material = this.displayMaterial;
|
||||
|
||||
// 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 {
|
||||
@@ -87,7 +87,7 @@ export class PendulumCpuStrategy implements PendulumSimulationStrategy {
|
||||
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);
|
||||
|
||||
scene.onBeforeRenderObservable.clear();
|
||||
|
||||
Reference in New Issue
Block a user