提交 b788d8d7 编写于 作者: L Lewy Blue

pass vector to LookAt function

上级 d3d7fdd8
......@@ -1780,7 +1780,7 @@
} else { // Cameras and other Object3Ds
model.lookAt( pos[ 0 ], pos[ 1 ], pos[ 2 ] );
model.lookAt( new THREE.Vector3( pos[ 0 ], pos[ 1 ], pos[ 2 ] ) );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册