@@ -487,6 +487,9 @@ function loading(p5, fn){
487
487
}
488
488
} ;
489
489
490
+ /**
491
+ * @private
492
+ */
490
493
async function parseMtl ( mtlPath ) {
491
494
let currentMaterial = null ;
492
495
let materials = { } ;
@@ -532,6 +535,7 @@ function loading(p5, fn){
532
535
}
533
536
534
537
/**
538
+ * @private
535
539
* Parse OBJ lines into model. For reference, this is what a simple model of a
536
540
* square might look like:
537
541
*
@@ -666,6 +670,7 @@ function loading(p5, fn){
666
670
}
667
671
668
672
/**
673
+ * @private
669
674
* STL files can be of two types, ASCII and Binary,
670
675
*
671
676
* We need to convert the arrayBuffer to an array of strings,
@@ -720,6 +725,7 @@ function loading(p5, fn){
720
725
}
721
726
722
727
/**
728
+ * @private
723
729
* This function matches the `query` at the provided `offset`
724
730
*/
725
731
function matchDataViewAt ( query , reader , offset ) {
@@ -820,6 +826,7 @@ function loading(p5, fn){
820
826
}
821
827
822
828
/**
829
+ * @private
823
830
* ASCII STL file starts with `solid 'nameOfFile'`
824
831
* Then contain the normal of the face, starting with `facet normal`
825
832
* Next contain a keyword indicating the start of face vertex, `outer loop`
0 commit comments