提交 50369858 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11686 from georgiee/fix-shadow-viewer

Examples: Fix Resize Behaviour of ShadowMapViewer
......@@ -170,7 +170,9 @@ THREE.ShadowMapViewer = function ( light ) {
camera.right = window.innerWidth / 2;
camera.top = window.innerHeight / 2;
camera.bottom = window.innerHeight / - 2;
camera.updateProjectionMatrix();
this.update();
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册