Skip to content

Commit df699b0

Browse files
authored
Clean up. (#30752)
1 parent e6343e8 commit df699b0

File tree

8 files changed

+31
-31
lines changed

8 files changed

+31
-31
lines changed

examples/jsm/exporters/GLTFExporter.js

+20-20
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ const GLB_CHUNK_TYPE_BIN = 0x004E4942;
381381
* Compare two arrays
382382
*
383383
* @private
384-
* @param {Array} array1 Array 1 to compare
385-
* @param {Array} array2 Array 2 to compare
384+
* @param {Array} array1 Array 1 to compare
385+
* @param {Array} array2 Array 2 to compare
386386
* @return {boolean} Returns true if both arrays are equal
387387
*/
388388
function equalArray( array1, array2 ) {
@@ -399,7 +399,7 @@ function equalArray( array1, array2 ) {
399399
* Converts a string to an ArrayBuffer.
400400
*
401401
* @private
402-
* @param {string} text
402+
* @param {string} text
403403
* @return {ArrayBuffer}
404404
*/
405405
function stringToArrayBuffer( text ) {
@@ -425,9 +425,9 @@ function isIdentityMatrix( matrix ) {
425425
* Get the min and max vectors from the given attribute
426426
*
427427
* @private
428-
* @param {BufferAttribute} attribute Attribute to find the min/max in range from start to start + count
429-
* @param {number} start Start index
430-
* @param {number} count Range to cover
428+
* @param {BufferAttribute} attribute Attribute to find the min/max in range from start to start + count
429+
* @param {number} start Start index
430+
* @param {number} count Range to cover
431431
* @return {Object} Object containing the `min` and `max` values (As an array of attribute.itemSize components)
432432
*/
433433
function getMinMax( attribute, start, count ) {
@@ -798,7 +798,7 @@ class GLTFWriter {
798798
/**
799799
* Returns ids for buffer attributes.
800800
*
801-
* @param {Object} attribute
801+
* @param {Object} attribute
802802
* @param {boolean} [isRelativeCopy=false]
803803
* @return {number} An integer
804804
*/
@@ -1053,7 +1053,7 @@ class GLTFWriter {
10531053

10541054
/**
10551055
* Process a buffer to append to the default one.
1056-
* @param {ArrayBuffer} buffer
1056+
* @param {ArrayBuffer} buffer
10571057
* @return {0}
10581058
*/
10591059
processBuffer( buffer ) {
@@ -1362,10 +1362,10 @@ class GLTFWriter {
13621362

13631363
/**
13641364
* Process image
1365-
* @param {Image} image to process
1366-
* @param {number} format Identifier of the format (RGBAFormat)
1367-
* @param {boolean} flipY before writing out the image
1368-
* @param {string} mimeType export format
1365+
* @param {Image} image to process
1366+
* @param {number} format Identifier of the format (RGBAFormat)
1367+
* @param {boolean} flipY before writing out the image
1368+
* @param {string} mimeType export format
13691369
* @return {number} Index of the processed texture in the "images" array
13701370
*/
13711371
processImage( image, format, flipY, mimeType = 'image/png' ) {
@@ -1484,7 +1484,7 @@ class GLTFWriter {
14841484

14851485
/**
14861486
* Process sampler
1487-
* @param {Texture} map Texture to process
1487+
* @param {Texture} map Texture to process
14881488
* @return {number} Index of the processed texture in the "samplers" array
14891489
*/
14901490
processSampler( map ) {
@@ -1506,7 +1506,7 @@ class GLTFWriter {
15061506

15071507
/**
15081508
* Process texture
1509-
* @param {Texture} map Map to process
1509+
* @param {Texture} map Map to process
15101510
* @return {Promise<number>} Index of the processed texture in the "textures" array
15111511
*/
15121512
async processTextureAsync( map ) {
@@ -1552,7 +1552,7 @@ class GLTFWriter {
15521552

15531553
/**
15541554
* Process material
1555-
* @param {THREE.Material} material Material to process
1555+
* @param {THREE.Material} material Material to process
15561556
* @return {Promise<number|null>} Index of the processed material in the "materials" array
15571557
*/
15581558
async processMaterialAsync( material ) {
@@ -1728,7 +1728,7 @@ class GLTFWriter {
17281728

17291729
/**
17301730
* Process mesh
1731-
* @param {THREE.Mesh} mesh Mesh to process
1731+
* @param {THREE.Mesh} mesh Mesh to process
17321732
* @return {Promise<number|null>} Index of the processed mesh in the "meshes" array
17331733
*/
17341734
async processMeshAsync( mesh ) {
@@ -2133,7 +2133,7 @@ class GLTFWriter {
21332133

21342134
/**
21352135
* Process camera
2136-
* @param {THREE.Camera} camera Camera to process
2136+
* @param {THREE.Camera} camera Camera to process
21372137
* @return {number} Index of the processed mesh in the "camera" array
21382138
*/
21392139
processCamera( camera ) {
@@ -2334,7 +2334,7 @@ class GLTFWriter {
23342334

23352335
/**
23362336
* Process Object3D node
2337-
* @param {THREE.Object3D} object Object3D to processNodeAsync
2337+
* @param {THREE.Object3D} object Object3D to processNodeAsync
23382338
* @return {Promise<number>} Index of the node in the nodes list
23392339
*/
23402340
async processNodeAsync( object ) {
@@ -2442,7 +2442,7 @@ class GLTFWriter {
24422442

24432443
/**
24442444
* Process Scene
2445-
* @param {Scene} scene Scene to process
2445+
* @param {Scene} scene Scene to process
24462446
*/
24472447
async processSceneAsync( scene ) {
24482448

@@ -2486,7 +2486,7 @@ class GLTFWriter {
24862486

24872487
/**
24882488
* Creates a Scene to hold a list of objects and parse it
2489-
* @param {Array<THREE.Object3D>} objects List of objects to process
2489+
* @param {Array<THREE.Object3D>} objects List of objects to process
24902490
*/
24912491
async processObjectsAsync( objects ) {
24922492

examples/jsm/loaders/GLTFLoader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ class GLTFParser {
35873587
* be created if necessary, and reused from a cache.
35883588
*
35893589
* @private
3590-
* @param {Object3D} mesh Mesh, Line, or Points instance.
3590+
* @param {Object3D} mesh Mesh, Line, or Points instance.
35913591
*/
35923592
assignFinalMaterial( mesh ) {
35933593

src/nodes/core/StackNode.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class StackNode extends Node {
167167
* @function
168168
* @deprecated since r168. Use {@link StackNode#Else} instead.
169169
*
170-
* @param {...any} params
170+
* @param {...any} params
171171
* @returns {StackNode}
172172
*/
173173
else( ...params ) { // @deprecated, r168
@@ -180,7 +180,7 @@ class StackNode extends Node {
180180
/**
181181
* @deprecated since r168. Use {@link StackNode#ElseIf} instead.
182182
*
183-
* @param {...any} params
183+
* @param {...any} params
184184
* @returns {StackNode}
185185
*/
186186
elseif( ...params ) { // @deprecated, r168

src/nodes/display/BlendModes.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const blendColor = /*@__PURE__*/ Fn( ( [ base, blend ] ) => {
137137
* @function
138138
* @deprecated since r171. Use {@link blendBurn} instead.
139139
*
140-
* @param {...any} params
140+
* @param {...any} params
141141
* @returns {Function}
142142
*/
143143
export const burn = ( ...params ) => { // @deprecated, r171
@@ -152,7 +152,7 @@ export const burn = ( ...params ) => { // @deprecated, r171
152152
* @function
153153
* @deprecated since r171. Use {@link blendDodge} instead.
154154
*
155-
* @param {...any} params
155+
* @param {...any} params
156156
* @returns {Function}
157157
*/
158158
export const dodge = ( ...params ) => { // @deprecated, r171
@@ -167,7 +167,7 @@ export const dodge = ( ...params ) => { // @deprecated, r171
167167
* @function
168168
* @deprecated since r171. Use {@link blendScreen} instead.
169169
*
170-
* @param {...any} params
170+
* @param {...any} params
171171
* @returns {Function}
172172
*/
173173
export const screen = ( ...params ) => { // @deprecated, r171
@@ -182,7 +182,7 @@ export const screen = ( ...params ) => { // @deprecated, r171
182182
* @function
183183
* @deprecated since r171. Use {@link blendOverlay} instead.
184184
*
185-
* @param {...any} params
185+
* @param {...any} params
186186
* @returns {Function}
187187
*/
188188
export const overlay = ( ...params ) => { // @deprecated, r171

src/nodes/math/ConditionalNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ addMethodChaining( 'select', select );
217217
* @function
218218
* @deprecated since r168. Use {@link select} instead.
219219
*
220-
* @param {...any} params
220+
* @param {...any} params
221221
* @returns {ConditionalNode}
222222
*/
223223
export const cond = ( ...params ) => { // @deprecated, r168

src/nodes/math/OperatorNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ addMethodChaining( 'shiftRight', shiftRight );
637637
* @function
638638
* @deprecated since r168. Use {@link modInt} instead.
639639
*
640-
* @param {...any} params
640+
* @param {...any} params
641641
* @returns {Function}
642642
*/
643643
export const remainder = ( ...params ) => { // @deprecated, r168

src/nodes/tsl/TSLCore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ export const Fn = ( jsFunc, nodeType ) => {
565565
* @function
566566
* @deprecated since r168. Use {@link Fn} instead.
567567
*
568-
* @param {...any} params
568+
* @param {...any} params
569569
* @returns {Function}
570570
*/
571571
export const tslFn = ( ...params ) => { // @deprecated, r168

src/nodes/utils/LoopNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export const Break = () => expression( 'break' ).append();
282282
* @function
283283
* @deprecated since r168. Use {@link Loop} instead.
284284
*
285-
* @param {...any} params
285+
* @param {...any} params
286286
* @returns {LoopNode}
287287
*/
288288
export const loop = ( ...params ) => { // @deprecated, r168

0 commit comments

Comments
 (0)