Up cam throttle (#1843)

up cam throttle
This commit is contained in:
Kurt Hutten
2024-03-22 07:53:58 +11:00
committed by GitHub
parent 68b61c9832
commit 09b55259ab

View File

@ -36,7 +36,7 @@ type interactionType = 'pan' | 'rotate' | 'zoom'
const throttledEngCmd = throttle((cmd: EngineCommand) => { const throttledEngCmd = throttle((cmd: EngineCommand) => {
engineCommandManager.sendSceneCommand(cmd) engineCommandManager.sendSceneCommand(cmd)
}, 1000 / 15) }, 1000 / 30)
interface ThreeCamValues { interface ThreeCamValues {
position: Vector3 position: Vector3