提交 90ad637b 编写于 作者: M Mr.doob

StereoCamera: Clean up.

上级 cdd6e42a
......@@ -38,15 +38,15 @@ THREE.StereoCamera.prototype.updateMatrixWorld = ( function () {
if ( needsUpdate ) {
// Off-axis stereoscopic effect based on
// http://paulbourke.net/stereographics/stereorender/
focalLength = this.focalLength;
fov = this.fov;
aspect = this.aspect;
near = this.near;
far = this.far;
// Off-axis stereoscopic effect based on
// http://paulbourke.net/stereographics/stereorender/
var projectionMatrix = this.projectionMatrix.clone();
var eyeSep = focalLength / 30 * 0.5;
var eyeSepOnProjection = eyeSep * near / focalLength;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册