Browse Source

GLTFLoader: Add comment for MultiMaterial

Takahiro 7 years ago
parent
commit
b986b36399
1 changed files with 3 additions and 0 deletions
  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 || [];