소스 검색

GLTFLoader: Add comment for MultiMaterial

Takahiro 7 년 전
부모
커밋
b986b36399
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      examples/js/loaders/GLTFLoader.js

+ 3 - 0
examples/js/loaders/GLTFLoader.js

@@ -1361,6 +1361,9 @@ THREE.GLTFLoader = ( function () {
 	 */
 	function isCombinable( primitives ) {
 
+		// Returns true if all primitives use the same attributes/morphAttributes/mode
+		// and also have index. Otherwise returns false.
+
 		var primitive0 = primitives[ 0 ];
 		var targets0 = primitive0.targets || [];