From 81e7bd98ffbd44632d7a94f600843393e6002f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Fri, 12 Aug 2022 23:26:08 +0100 Subject: [PATCH] Clean up some debris --- src/music/features/visualizer/Renderer.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/music/features/visualizer/Renderer.ts b/src/music/features/visualizer/Renderer.ts index 4c092b3..f5648c9 100644 --- a/src/music/features/visualizer/Renderer.ts +++ b/src/music/features/visualizer/Renderer.ts @@ -193,8 +193,6 @@ class Renderer { this.buffers.positions === undefined || this.buffers.normals === undefined || this.buffers.fft === undefined - // this.buffers.velocitiesRead === undefined || - // this.buffers.velocitiesWrite === undefined ) { throw new Error("failed to create buffers before rendering"); } @@ -226,7 +224,6 @@ class Renderer { // Update fft this.analyser.getByteFrequencyData(this.analyserData); - // this.analyserData.fill(255); gl.bindBuffer(gl.ARRAY_BUFFER, this.buffers.fft); gl.bufferData(gl.ARRAY_BUFFER, this.analyserData, gl.STREAM_DRAW);