Skip to content

Commit

Permalink
chore: camelCase typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Oct 7, 2024
1 parent 1dad896 commit e8ae651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Simulation {
private _bloom!: FBO;
private _sunrays!: FBO;
private _sunraysTemp!: FBO;
private animationFrameID!: number;
private animationFrameId!: number;

constructor(container: HTMLElement) {
let canvas = container.querySelector('canvas');
Expand Down Expand Up @@ -138,7 +138,7 @@ class Simulation {
public stop() {
this.pointers = [];

cancelAnimationFrame(this.animationFrameID);
cancelAnimationFrame(this.animationFrameId);

this.canvas.removeEventListener('mousedown', this.handleMouseDown);
this.canvas.removeEventListener('mousemove', this.handleMouseMove);
Expand Down Expand Up @@ -825,7 +825,7 @@ class Simulation {

// This is bound in the constructor, so it's safe to call here
// eslint-disable-next-line
this.animationFrameID = requestAnimationFrame(this.update);
this.animationFrameId = requestAnimationFrame(this.update);
}

private calcDeltaTime(): number {
Expand Down

0 comments on commit e8ae651

Please sign in to comment.