未验证 提交 f3c1be2e 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #15833 from makc/patch-2

fix PerspectiveCamera docs
...@@ -130,17 +130,17 @@ PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ), ...@@ -130,17 +130,17 @@ PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ),
* var fullHeight = h * 2; * var fullHeight = h * 2;
* *
* --A-- * --A--
* camera.setOffset( fullWidth, fullHeight, w * 0, h * 0, w, h ); * camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 0, w, h );
* --B-- * --B--
* camera.setOffset( fullWidth, fullHeight, w * 1, h * 0, w, h ); * camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 0, w, h );
* --C-- * --C--
* camera.setOffset( fullWidth, fullHeight, w * 2, h * 0, w, h ); * camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 0, w, h );
* --D-- * --D--
* camera.setOffset( fullWidth, fullHeight, w * 0, h * 1, w, h ); * camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );
* --E-- * --E--
* camera.setOffset( fullWidth, fullHeight, w * 1, h * 1, w, h ); * camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );
* --F-- * --F--
* camera.setOffset( fullWidth, fullHeight, w * 2, h * 1, w, h ); * camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
* *
* Note there is no reason monitors have to be the same size or in a grid. * Note there is no reason monitors have to be the same size or in a grid.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册