Skip to content

Commit 3e8ca1e

Browse files
authored
Docs: Fix Renderer WebGPU convention (#32457)
1 parent d8dc3dd commit 3e8ca1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/renderers/common/Renderer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,9 +1843,9 @@ class Renderer {
18431843
/**
18441844
* Defines the scissor rectangle.
18451845
*
1846-
* @param {number | Vector4} x - The horizontal coordinate for the lower left corner of the box in logical pixel unit.
1846+
* @param {number | Vector4} x - The horizontal coordinate for the upper left corner of the box in logical pixel unit.
18471847
* Instead of passing four arguments, the method also works with a single four-dimensional vector.
1848-
* @param {number} y - The vertical coordinate for the lower left corner of the box in logical pixel unit.
1848+
* @param {number} y - The vertical coordinate for the upper left corner of the box in logical pixel unit.
18491849
* @param {number} width - The width of the scissor box in logical pixel unit.
18501850
* @param {number} height - The height of the scissor box in logical pixel unit.
18511851
*/
@@ -1896,8 +1896,8 @@ class Renderer {
18961896
/**
18971897
* Defines the viewport.
18981898
*
1899-
* @param {number | Vector4} x - The horizontal coordinate for the lower left corner of the viewport origin in logical pixel unit.
1900-
* @param {number} y - The vertical coordinate for the lower left corner of the viewport origin in logical pixel unit.
1899+
* @param {number | Vector4} x - The horizontal coordinate for the upper left corner of the viewport origin in logical pixel unit.
1900+
* @param {number} y - The vertical coordinate for the upper left corner of the viewport origin in logical pixel unit.
19011901
* @param {number} width - The width of the viewport in logical pixel unit.
19021902
* @param {number} height - The height of the viewport in logical pixel unit.
19031903
* @param {number} minDepth - The minimum depth value of the viewport. WebGPU only.

0 commit comments

Comments
 (0)