We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f3212 commit f20ac21Copy full SHA for f20ac21
src/webgl/p5.Geometry.js
@@ -273,10 +273,10 @@ class Geometry {
273
*
274
* // Create a p5.Geometry object.
275
* // Set its internal color to red.
276
- * beginGeometry();
277
- * fill(255, 0, 0);
278
- * plane(20);
279
- * let myGeometry = endGeometry();
+ * let myGeometry = buildGeometry(() => {
+ * fill(255, 0, 0);
+ * plane(20);
+ * });
280
281
* // Style the shape.
282
* noStroke();
0 commit comments