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.
1 parent a1c83d6 commit a345b87Copy full SHA for a345b87
src/renderers/WebGLRenderer.js
@@ -1020,10 +1020,10 @@ function WebGLRenderer( parameters ) {
1020
1021
var onAnimationFrameCallback = null;
1022
1023
- function onAnimationFrame() {
+ function onAnimationFrame( time ) {
1024
1025
if ( vr.isPresenting() ) return;
1026
- if ( onAnimationFrameCallback ) onAnimationFrameCallback();
+ if ( onAnimationFrameCallback ) onAnimationFrameCallback( time );
1027
1028
}
1029
src/renderers/webvr/WebXRManager.js
@@ -177,7 +177,7 @@ function WebXRManager( renderer ) {
177
178
179
180
181
182
183
0 commit comments