Explorar el Código

Fixed ClearPass.

Mr.doob hace 10 años
padre
commit
ae829cedac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/postprocessing/ClearPass.js

+ 1 - 1
examples/js/postprocessing/ClearPass.js

@@ -10,7 +10,7 @@ THREE.ClearPass = function () {
 
 
 };
 };
 
 
-THREE.ClearPass.prototype = Object.assign( Object.create( THREE.Pass.prototype ),
+THREE.ClearPass.prototype = Object.assign( Object.create( THREE.Pass.prototype ), {
 
 
 	constructor: THREE.ClearPass,
 	constructor: THREE.ClearPass,
 
 

粤ICP备19079148号