Revert "fix: Remove duplicate RABBIT declaration and move toggleDebug function"

This reverts commit bcd61b7433.
This commit is contained in:
Kacper Kostka
2025-04-05 17:03:55 +02:00
parent b7d12114d3
commit b5d1a643bd
2 changed files with 5 additions and 6 deletions

View File

@@ -68,11 +68,6 @@ function resizeCanvas() {
canvas.height = window.innerHeight - document.querySelector('.controls').offsetHeight;
}
function toggleDebug() {
debugMode = !debugMode;
document.getElementById('debug-btn').classList.toggle('active');
}
function simulationLoop(timestamp) {
// Calculate FPS
const deltaTime = timestamp - lastFrameTime;