File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3838 < p >
3939 This sample demonstrates how a session can request to render to
4040 a smaller area of its layer. This can be used to dynamically
41- lower the number of pixels that need to be rendered. This can
41+ lower the number of pixels that need to be rendered. This can
4242 help experiences that are fragment bound for a short amount
4343 of time.
4444 < a class ="back " href ="./ "> Back</ a >
4848 </ details >
4949 </ header >
5050 < main style ='text-align: center; '>
51- < p > Click 'Enter XR' to see content</ p >
51+ < p > Click 'Enter XR' to see content</ p >
5252 </ main >
5353 < script type ="module ">
5454 import { WebXRButton } from './js/util/webxr-button.js' ;
120120
121121 if ( useLayer ) {
122122 xrFramebuffer = gl . createFramebuffer ( ) ;
123- xrGLFactory = new XRWebGLBinding ( session , gl ) ;
123+ xrGLFactory = new XRWebGLBinding ( session , gl ) ;
124124 } else {
125125 let gllayer = new XRWebGLLayer ( session , gl ) ;
126126 gllayer . fixedFoveation = 1.0 ;
203203 scale += scale_down ? - 0.004 : 0.004 ;
204204
205205 if ( scale >= 1 ) {
206- scale = 1 ;
206+ scale = 1 ;
207207 scale_down = true ;
208208 } else if ( scale <= 0.125 ) {
209- scale = 0.125 ; q
209+ scale = 0.125 ;
210210 scale_down = false ;
211211 }
212212 }
You can’t perform that action at this time.
0 commit comments