瀏覽代碼

Update webgpurenderer.html

Clean up.
Michael Herzog 1 月之前
父節點
當前提交
02201339d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      manual/en/webgpurenderer.html

+ 1 - 1
manual/en/webgpurenderer.html

@@ -107,7 +107,7 @@ document.body.appendChild( renderer.domElement );
               It's important to understand that WebGPU is initialized in an asynchronous fashion. Hence, it is recommended to use 
               `setAnimationLoop()` to define the animation loop of your app since this approach will automatically ensure the renderer
               is initialized when rendering the first frame. If you prefer to manage your animation loop via `window.requestAnimationFrame()` or
-              if you have to use to the renderer in your init routine, you need an additional line in the above code section.
+              if you have to use the renderer in your init routine, you need an additional line in the above code section.
             </p>
 <pre class="prettyprint showlinemods notranslate lang-js" translate="no">
 const renderer = new THREE.WebGPURenderer( { antialias: true } );

粤ICP备19079148号