We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
frame
xrFrame
1 parent 9213efc commit 0e8894cCopy full SHA for 0e8894c
src/renderers/common/Animation.js
@@ -60,7 +60,7 @@ class Animation {
60
*/
61
start() {
62
63
- const update = ( time, frame ) => {
+ const update = ( time, xrFrame ) => {
64
65
this._requestId = this._context.requestAnimationFrame( update );
66
@@ -70,7 +70,7 @@ class Animation {
70
71
this.info.frame = this.nodes.nodeFrame.frameId;
72
73
- if ( this._animationLoop !== null ) this._animationLoop( time, frame );
+ if ( this._animationLoop !== null ) this._animationLoop( time, xrFrame );
74
75
};
76
0 commit comments