feat: update new operators
This commit is contained in:
@@ -343,11 +343,7 @@ export class Player {
|
|||||||
const fpsInterval = 1 / this.config.fps
|
const fpsInterval = 1 / this.config.fps
|
||||||
const now = performance.now() / 1000
|
const now = performance.now() / 1000
|
||||||
// Update animation and skeleton based on user selections
|
// Update animation and skeleton based on user selections
|
||||||
if (
|
if (!this.paused && this.config.animation) {
|
||||||
!this.paused &&
|
|
||||||
this.config.animation &&
|
|
||||||
now - this.lastFrameTime > fpsInterval
|
|
||||||
) {
|
|
||||||
const ctx = this.context
|
const ctx = this.context
|
||||||
const gl = ctx.gl
|
const gl = ctx.gl
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user