Skip to content

Commit

Permalink
Update vertex.js typo linter
Browse files Browse the repository at this point in the history
  • Loading branch information
aferriss authored Aug 17, 2023
1 parent 38788a0 commit f61bcd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/shape/vertex.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ p5.prototype.endContour = function() {
*
* void main() {
*
* // copy the instance ID to the fragment shder
* // copy the instance ID to the fragment shader
* instanceId = gl_InstanceID;
* vec4 positionVec4 = vec4(aPosition, 1.0);
*
Expand All @@ -660,7 +660,7 @@ p5.prototype.endContour = function() {
* void main() {
* vec4 red = vec4(1.0, 0.0, 0.0, 1.0);
* vec4 blue = vec4(0.0, 0.0, 1.0, 1.0);
*
*
* // Normalize the instance id
* float normId = float(instanceID) / (numInstances - 1.0);
*
Expand Down

0 comments on commit f61bcd5

Please sign in to comment.