feat: throttle scene rendering to animation framerate (#5422)

This commit is contained in:
David Luzar 2022-07-07 11:47:37 +02:00 committed by GitHub
parent c725f84334
commit b6bb74d08d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 89 additions and 51 deletions

View file

@ -20,7 +20,7 @@ import { t } from "../i18n";
const { h } = window;
const renderScene = jest.spyOn(Renderer, "renderScene");
const renderScene = jest.spyOn(Renderer, "renderSceneThrottled");
const mouse = new Pointer("mouse");
const finger1 = new Pointer("touch", 1);