소스 검색

add comment

Garrett Johnson 4 년 전
부모
커밋
f3e938f1cd
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      src/base/traverseFunctions.js

+ 0 - 3
src/base/traverseFunctions.js

@@ -142,7 +142,6 @@ export function determineFrustumSet( tile, renderer ) {
 	stats.inFrustum ++;
 
 	// Early out if this tile has less error than we're targeting.
-	// TODO: check for external tileset here
 	if ( ( stopAtEmptyTiles || ! tile.__contentEmpty ) && ! tile.__externalTileSet ) {
 
 		const error = renderer.calculateError( tile );
@@ -233,8 +232,6 @@ export function markUsedSetLeaves( tile, renderer ) {
 
 			if ( isUsedThisFrame( c, frameCount ) ) {
 
-				// TODO: we should check for external tilesets here
-				// TODO: we get a blink when a node has no children
 				const childLoaded = ( ! c.__contentEmpty && isDownloadFinished( c.__loadingState ) ) || c.__allChildrenLoaded;
 				allChildrenLoaded = allChildrenLoaded && childLoaded;