Skip to content

Commit 3d2f4c7

Browse files
committed
Fix p5.Geometry method getting added to global
1 parent d57d047 commit 3d2f4c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/webgl/p5.Geometry.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ class Geometry {
17741774
* createCanvas(100, 100, WEBGL);
17751775
*
17761776
* // Modify the material shader to display roughness.
1777-
* const myShader = materialShader().modify({
1777+
* const myShader = baseMaterialShader().modify({
17781778
* vertexDeclarations:`in float aRoughness;
17791779
* out float vRoughness;`,
17801780
* fragmentDeclarations: 'in float vRoughness;',
@@ -1833,7 +1833,6 @@ class Geometry {
18331833
* </code>
18341834
* </div>
18351835
*
1836-
* @method vertexProperty
18371836
* @param {String} propertyName the name of the vertex property.
18381837
* @param {Number|Number[]} data the data tied to the vertex property.
18391838
* @param {Number} [size] optional size of each unit of data.

0 commit comments

Comments
 (0)