Browse Source

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

Mr.doob 12 năm trước cách đây
mục cha
commit
bd9067ee7c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 );
 
 };