Skip to content

Commit

Permalink
Merge pull request #6500 from capGoblin/fix/typo-function-docs
Browse files Browse the repository at this point in the history
Add param geometry in freeGeometry function-docs
  • Loading branch information
davepagurek committed Oct 26, 2023
2 parents cdf8d91 + 6be446b commit ea8234a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgl/3d_primitives.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ p5.prototype.buildGeometry = function(callback) {
* from <a href="#/p5/loadModel">loadModel()</a>.
*
* @method freeGeometry
* @param {p5.Geometry} The geometry whose resources should be freed
* @param {p5.Geometry} geometry The geometry whose resources should be freed
*/
p5.prototype.freeGeometry = function(geometry) {
this._renderer._freeBuffers(geometry.gid);
Expand Down

0 comments on commit ea8234a

Please sign in to comment.