Skip to content

Commit

Permalink
Denote optional parameters as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed May 14, 2021
1 parent f2788b7 commit a2c9f16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/navigation/navmesh/NavMeshLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class NavMeshLoader {
* to influence the parsing of the navigation mesh.
*
* @param {String} url - The URL of the glTF asset.
* @param {Object} options - The (optional) configuration object.
* @param {Object} [options] - The (optional) configuration object.
* @return {Promise} A promise representing the loading and parsing process.
*/
load( url, options ) {
Expand Down Expand Up @@ -74,8 +74,8 @@ class NavMeshLoader {
* in node.js.
*
* @param {ArrayBuffer} arrayBuffer - The array buffer.
* @param {String} url - The (optional) URL.
* @param {Object} options - The (optional) configuration object.
* @param {String} [url] - The (optional) URL.
* @param {Object} [options] - The (optional) configuration object.
* @return {Promise} A promise representing the parsing process.
*/
parse( arrayBuffer, url, options ) {
Expand Down

0 comments on commit a2c9f16

Please sign in to comment.