|
@@ -60,7 +60,7 @@ class Animation {
|
|
|
*/
|
|
*/
|
|
|
start() {
|
|
start() {
|
|
|
|
|
|
|
|
- const update = ( time, frame ) => {
|
|
|
|
|
|
|
+ const update = ( time, xrFrame ) => {
|
|
|
|
|
|
|
|
this._requestId = this._context.requestAnimationFrame( update );
|
|
this._requestId = this._context.requestAnimationFrame( update );
|
|
|
|
|
|
|
@@ -70,7 +70,7 @@ class Animation {
|
|
|
|
|
|
|
|
this.info.frame = this.nodes.nodeFrame.frameId;
|
|
this.info.frame = this.nodes.nodeFrame.frameId;
|
|
|
|
|
|
|
|
- if ( this._animationLoop !== null ) this._animationLoop( time, frame );
|
|
|
|
|
|
|
+ if ( this._animationLoop !== null ) this._animationLoop( time, xrFrame );
|
|
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|