Skip to content

Commit

Permalink
add param geometry in freeGeometry function-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
capGoblin committed Oct 26, 2023
1 parent d454628 commit 6be446b
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 6be446b

Please sign in to comment.