Skip to content

Commit d51184b

Browse files
authored
Merge pull request #7835 from lukeplowden/model-params
Model params updated for YUIDocs
2 parents 53d6aa8 + c6f0ffc commit d51184b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docs/parameterData.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,12 +2739,9 @@
27392739
},
27402740
"model": {
27412741
"overloads": [
2742-
[
2743-
"p5.Geometry"
2744-
],
27452742
[
27462743
"p5.Geometry",
2747-
"Number"
2744+
"Number?"
27482745
]
27492746
]
27502747
},

src/webgl/loading.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ function loading(p5, fn){
987987
* @method model
988988
* @param {p5.Geometry} model 3D shape to be drawn.
989989
*
990-
* @param {Number} count number of instances to draw.
990+
* @param {Number} [count=1] number of instances to draw.
991991
* @example
992992
* <div>
993993
* <code>

0 commit comments

Comments
 (0)