Skip to content

Commit 3e9de66

Browse files
short description added
1 parent b797845 commit 3e9de66

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/webgl/loading.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ import './p5.Geometry';
2626
* rendered without color properties.
2727
*
2828
* Options can include:
29-
* - `path`
30-
* - `normalize`
31-
* - `successCallback`
32-
* - `failureCallback`
33-
* - `fileType`
34-
* - `flipU`
35-
* - `flipV`
29+
* - `path`: Specifies the location or path of the 3D model file for loading.
30+
* - `normalize`: Enables standardized size scaling during loading if set to true.
31+
* - `successCallback`: Callback for post-loading actions with the 3D model object.
32+
* - `failureCallback`: Handles errors if model loading fails, receiving an event error.
33+
* - `fileType`: Defines the file extension of the model.
34+
* - `flipU`: Flips the U texture coordinates of the model.
35+
* - `flipV`: Flips the V texture coordinates of the model.
3636
*
3737
* @method loadModel
3838
* @param {String} path Path of the model to be loaded

0 commit comments

Comments
 (0)