polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
17 lines (14 loc) • 391 B
text/typescript
export class AnimationUpdateCallback {
private _update_matrix: boolean = false;
clone() {
const new_update_callback = new AnimationUpdateCallback();
new_update_callback.set_update_matrix(this._update_matrix);
return new_update_callback;
}
set_update_matrix(update_matrix: boolean) {
this._update_matrix = update_matrix;
}
update_matrix() {
return this._update_matrix;
}
}