소스 검색

TDSLoader: Clean up.

Mugen87 4 년 전
부모
커밋
a40bc299be
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      examples/js/loaders/TDSLoader.js
  2. 1 1
      examples/jsm/loaders/TDSLoader.js

+ 1 - 1
examples/js/loaders/TDSLoader.js

@@ -879,7 +879,7 @@ THREE.TDSLoader.prototype = Object.assign( Object.create( THREE.Loader.prototype
 	/**
 	 * Read percentage value.
 	 *
-	 * @method readWord
+	 * @method readPercentage
 	 * @param {DataView} data Dataview to read data from.
 	 * @return {Number} Data read from the dataview.
 	 */

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

@@ -895,7 +895,7 @@ TDSLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
 	/**
 	 * Read percentage value.
 	 *
-	 * @method readWord
+	 * @method readPercentage
 	 * @param {DataView} data Dataview to read data from.
 	 * @return {Number} Data read from the dataview.
 	 */