Skip to content

Commit f3c1be2

Browse files
authored
Merge pull request #15833 from makc/patch-2
fix PerspectiveCamera docs
2 parents 37bbe4e + d209c92 commit f3c1be2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cameras/PerspectiveCamera.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,17 @@ PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ),
130130
* var fullHeight = h * 2;
131131
*
132132
* --A--
133-
* camera.setOffset( fullWidth, fullHeight, w * 0, h * 0, w, h );
133+
* camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 0, w, h );
134134
* --B--
135-
* camera.setOffset( fullWidth, fullHeight, w * 1, h * 0, w, h );
135+
* camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 0, w, h );
136136
* --C--
137-
* camera.setOffset( fullWidth, fullHeight, w * 2, h * 0, w, h );
137+
* camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 0, w, h );
138138
* --D--
139-
* camera.setOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );
139+
* camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );
140140
* --E--
141-
* camera.setOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );
141+
* camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );
142142
* --F--
143-
* camera.setOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
143+
* camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
144144
*
145145
* Note there is no reason monitors have to be the same size or in a grid.
146146
*/

0 commit comments

Comments
 (0)