Skip to content

Commit

Permalink
fixed syntax error in set attribute example
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeplowden committed Sep 27, 2024
1 parent eb18e6f commit 6b0ad95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgl/p5.Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ p5.Geometry = class Geometry {
*
* function setup() {
* createCanvas(100, 100, WEBGL);
* myShader = materialShader().modify({
* const myShader = materialShader().modify({
* vertexDeclarations:`in float aRoughness;
* out float vRoughness;`,
* fragmentDeclarations: 'in float vRoughness;',
Expand Down

0 comments on commit 6b0ad95

Please sign in to comment.