@@ -113,11 +113,6 @@ function primitives3D(p5, fn){
113113 * The parameter, `callback`, is a function with the drawing instructions for
114114 * the new <a href="#/p5.Geometry">p5.Geometry</a> object. It will be called
115115 * once to create the new 3D shape.
116- *
117- * See <a href="#/p5/beginGeometry">beginGeometry()</a> and
118- * <a href="#/p5/endGeometry">endGeometry()</a> for another way to build 3D
119- * shapes.
120- *
121116 * Note: `buildGeometry()` can only be used in WebGL mode.
122117 *
123118 * @method buildGeometry
@@ -321,12 +316,8 @@ function primitives3D(p5, fn){
321316 * <a href="#/p5.Geometry">p5.Geometry</a> objects can contain lots of data
322317 * about their vertices, surface normals, colors, and so on. Complex 3D shapes
323318 * can use lots of memory which is a limited resource in many GPUs. Calling
324- * `freeGeometry()` can improve performance by freeing a
325- * <a href="#/p5.Geometry">p5.Geometry</a> object’s resources from GPU memory.
326319 * `freeGeometry()` works with <a href="#/p5.Geometry">p5.Geometry</a> objects
327- * created with <a href="#/p5/beginGeometry">beginGeometry()</a> and
328- * <a href="#/p5/endGeometry">endGeometry()</a>,
329- * <a href="#/p5/buildGeometry">buildGeometry()</a>, and
320+ * created with <a href="#/p5/buildGeometry">buildGeometry()</a> and
330321 * <a href="#/p5/loadModel">loadModel()</a>.
331322 *
332323 * The parameter, `geometry`, is the <a href="#/p5.Geometry">p5.Geometry</a>
@@ -342,24 +333,6 @@ function primitives3D(p5, fn){
342333 * @param {p5.Geometry } geometry 3D shape whose resources should be freed.
343334 *
344335 * @example
345- * function setup() {
346- * createCanvas(100, 100, WEBGL);
347- *
348- * background(200);
349- *
350- * // Create a p5.Geometry object.
351- * beginGeometry();
352- * cone();
353- * let shape = endGeometry();
354- *
355- * // Draw the shape.
356- * model(shape);
357- *
358- * // Free the shape's resources.
359- * freeGeometry(shape);
360- * }
361- *
362- * @example
363336 * // Click and drag the mouse to view the scene from different angles.
364337 *
365338 * let button;
0 commit comments