提交 6b7ca21f 编写于 作者: J Jerome Etienne 提交者: Mr.doob

added support for THREE.Camera (#9125)

上级 8b7a1e16
......@@ -94,7 +94,7 @@ THREE.CameraHelper = function ( camera ) {
THREE.LineSegments.call( this, geometry, material );
this.camera = camera;
this.camera.updateProjectionMatrix();
if( this.camera.updateProjectionMatrix ) this.camera.updateProjectionMatrix();
this.matrix = camera.matrixWorld;
this.matrixAutoUpdate = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册