提交 2dd80499 编写于 作者: M Mr.doob

StereoEffect: setEyeSep() to setEyeSeparation()

上级 3d0dc519
......@@ -10,15 +10,15 @@ THREE.StereoEffect = function ( renderer ) {
var _stereo = new THREE.StereoCamera();
_stereo.aspect = 0.5;
this.setSize = function ( width, height ) {
this.setEyeSeparation = function ( eyeSep ) {
renderer.setSize( width, height );
_stereo.eyeSep = eyeSep;
};
this.setEyeSep = function ( eyeSep ) {
this.setSize = function ( width, height ) {
_stereo.eyeSep = eyeSep;
renderer.setSize( width, height );
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册