Skip to content

Commit 0e8894c

Browse files
authored
Animation: Rename frame parameter to xrFrame. (#30558)
* Animation: Remove obsolete parameter. * Animation: Rename `frame` to `xrFrame`.
1 parent 9213efc commit 0e8894c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderers/common/Animation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Animation {
6060
*/
6161
start() {
6262

63-
const update = ( time, frame ) => {
63+
const update = ( time, xrFrame ) => {
6464

6565
this._requestId = this._context.requestAnimationFrame( update );
6666

@@ -70,7 +70,7 @@ class Animation {
7070

7171
this.info.frame = this.nodes.nodeFrame.frameId;
7272

73-
if ( this._animationLoop !== null ) this._animationLoop( time, frame );
73+
if ( this._animationLoop !== null ) this._animationLoop( time, xrFrame );
7474

7575
};
7676

0 commit comments

Comments
 (0)