Skip to content

Commit fa277e5

Browse files
committed
fix typo in documentation for vertexProperty
1 parent 6adfbe0 commit fa277e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/shape/vertex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ function vertex(p5, fn){
14181418

14191419
/** Sets the shader's vertex property or attribute variables.
14201420
*
1421-
* An vertex property or vertex attribute is a variable belonging to a vertex in a shader. p5.js provides some
1421+
* A vertex property, or vertex attribute, is a variable belonging to a vertex in a shader. p5.js provides some
14221422
* default properties, such as `aPosition`, `aNormal`, `aVertexColor`, etc. These are
14231423
* set using <a href="#/p5/vertex">vertex()</a>, <a href="#/p5/normal">normal()</a>
14241424
* and <a href="#/p5/fill">fill()</a> respectively. Custom properties can also

src/webgl/p5.Geometry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ class Geometry {
17361736

17371737
/** Sets the shader's vertex property or attribute variables.
17381738
*
1739-
* An vertex property or vertex attribute is a variable belonging to a vertex in a shader. p5.js provides some
1739+
* A vertex property, or vertex attribute, is a variable belonging to a vertex in a shader. p5.js provides some
17401740
* default properties, such as `aPosition`, `aNormal`, `aVertexColor`, etc. These are
17411741
* set using <a href="#/p5/vertex">vertex()</a>, <a href="#/p5/normal">normal()</a>
17421742
* and <a href="#/p5/fill">fill()</a> respectively. Custom properties can also

0 commit comments

Comments
 (0)