Skip to content

Commit

Permalink
Updated builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 16, 2017
1 parent 5e79a45 commit b6a8dd1
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 164 deletions.
14 changes: 11 additions & 3 deletions build/three.js
Original file line number Diff line number Diff line change
Expand Up @@ -19854,6 +19854,12 @@

};

this.submitFrame = function () {

if ( device && device.isPresenting ) device.submitFrame();

};

}

/**
Expand Down Expand Up @@ -21162,8 +21168,6 @@

// update camera matrices and frustum

camera.onBeforeRender( _this );

if ( camera.parent === null ) camera.updateMatrixWorld();

if ( vr.enabled ) {
Expand Down Expand Up @@ -21348,7 +21352,11 @@

}

camera.onAfterRender( _this );
if ( vr.enabled ) {

vr.submitFrame();

}

// _gl.finish();

Expand Down
Loading

0 comments on commit b6a8dd1

Please sign in to comment.