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

Update jsm files.

上级 8447ee41
......@@ -294,6 +294,12 @@ Pass.FullScreenQuad = ( function () {
Object.assign( FullScreenQuad.prototype, {
dispose: function () {
this._mesh.geometry.dispose();
},
render: function ( renderer ) {
renderer.render( this._mesh, camera );
......
......@@ -16,6 +16,7 @@ var CSS3DObject = function ( element ) {
this.element = element;
this.element.style.position = 'absolute';
this.element.style.pointerEvents = 'auto';
this.addEventListener( 'removed', function () {
......@@ -68,6 +69,7 @@ var CSS3DRenderer = function () {
cameraElement.style.WebkitTransformStyle = 'preserve-3d';
cameraElement.style.transformStyle = 'preserve-3d';
cameraElement.style.pointerEvents = 'none';
domElement.appendChild( cameraElement );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册