提交 808d62b1 编写于 作者: P Paolo Moretti

Added support for Camera Up Direction in SceneLoader

上级 407d6829
......@@ -422,7 +422,7 @@ THREE.SceneLoader.prototype.createScene = function ( json, callbackFinished, url
camera.target = new THREE.Vector3( t[0], t[1], t[2] );
if ( u ) {
camera.up.set( u[0], u[1], [2] );
camera.up.set( u[0], u[1], u[2] );
}
result.cameras[ dc ] = camera;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册