enabling and disabling shadows

This commit is contained in:
Mottributo 2023-03-26 20:43:30 +03:00
parent 927e3a2c84
commit bd6c575677

View File

@ -1089,6 +1089,7 @@ function keyPressed() {
}
}
if (keyCode == 77 /*M*/) showDebugData = !showDebugData;
if (keyCode == 78 /*N*/) shadows_enabled = !shadows_enabled;
}
function keyReleased() {
console.log(frameCount + ' released ' + key + ' ' + keyCode);