提交 e4151d0e 编写于 作者: W WestLangley

SVGRenderer: Fix clipping of SVGObjects

上级 53612dfc
......@@ -252,7 +252,7 @@ THREE.SVGRenderer = function () {
_vector3.setFromMatrixPosition( object.matrixWorld );
_vector3.applyMatrix4( _viewProjectionMatrix );
if ( _vector3.z < 0 || _vector3.z > 1 ) return; // #15476
if ( _vector3.z < - 1 || _vector3.z > 1 ) return;
var x = _vector3.x * _svgWidthHalf;
var y = - _vector3.y * _svgHeightHalf;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册