Ver código fonte

OBJLoader: Clarify comment skips. (#25906)

* docs: make comment check more self-documenting

* make suggested change
Hamir Mahal 2 anos atrás
pai
commit
22242d5931
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/jsm/loaders/OBJLoader.js

+ 1 - 1
examples/jsm/loaders/OBJLoader.js

@@ -515,7 +515,7 @@ class OBJLoader extends Loader {
 			const lineFirstChar = line.charAt( 0 );
 
 			// @todo invoke passed in handler if any
-			if ( lineFirstChar === '#' ) continue;
+			if ( lineFirstChar === '#' ) continue; // skip comments
 
 			if ( lineFirstChar === 'v' ) {