提交 3fd21862 编写于 作者: G Georgios Kaleadis

Examples: Fix Resize Behavior of ShadowMapViewer

上级 a33b5b65
......@@ -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.
先完成此消息的编辑!
想要评论请 注册