UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

18 lines (17 loc) 418 B
"use strict"; export class AnimationUpdateCallback { constructor() { this._update_matrix = false; } clone() { const new_update_callback = new AnimationUpdateCallback(); new_update_callback.setUpdateMatrix(this._update_matrix); return new_update_callback; } setUpdateMatrix(update_matrix) { this._update_matrix = update_matrix; } updateMatrix() { return this._update_matrix; } }