Ver código fonte

Added warning message in Face4 as suggested by @icannotfly in #3663.

Mr.doob 12 anos atrás
pai
commit
bd9067ee7c
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/core/Face4.js

+ 2 - 0
src/core/Face4.js

@@ -4,6 +4,8 @@
 
 THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) {
 
+	console.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.')
+
 	return new THREE.Face3( a, b, c, normal, color, materialIndex );
 
 };