소스 검색

comments update

Garrett Johnson 5 년 전
부모
커밋
fcd8db2c7b
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      examples/jsm/lines/LineSegments2.js

+ 1 - 3
examples/jsm/lines/LineSegments2.js

@@ -73,7 +73,7 @@ LineSegments2.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 			if ( raycaster.camera === null ) {
 
-				console.error( 'LineSegments2: "Raycaster.camera" needs to be set in order to raycast against sprites.' );
+				console.error( 'LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2.' );
 
 			}
 
@@ -108,8 +108,6 @@ LineSegments2.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 			for ( var i = 0, l = instanceStart.count; i < l; i ++ ) {
 
-				// TODO: Maybe have to clip the line based on the camera?
-
 				start.fromBufferAttribute( instanceStart, i );
 				end.fromBufferAttribute( instanceEnd, i );