Update target FPS for mobile devices in app.js
This commit is contained in:
@@ -15,7 +15,7 @@ function isMobileDevice() {
|
||||
const IS_MOBILE = isMobileDevice();
|
||||
const LOW_PERFORMANCE = IS_MOBILE; // ... später aus FPS ableitbar
|
||||
|
||||
let targetFps = LOW_PERFORMANCE ? 24 : 60;
|
||||
let targetFps = LOW_PERFORMANCE ? 30 : 60;
|
||||
let lastAnim = 0;
|
||||
|
||||
const container = document.getElementById('viewer');
|
||||
|
||||
Reference in New Issue
Block a user