Skip to content

Commit bda63ff

Browse files
authored
Merge pull request #6659 from diyaayay/bugfix/6653
bugfix #6653 vertexNormal() is not defined,replaces with normal
2 parents 8f2b47c + 6d88dc3 commit bda63ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/webgl/p5.RendererGL.Immediate.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,14 @@ p5.RendererGL.prototype.vertex = function(x, y) {
167167

168168
/**
169169
* Sets the normal to use for subsequent vertices.
170-
* @method vertexNormal
170+
* @private
171+
* @method normal
171172
* @param {Number} x
172173
* @param {Number} y
173174
* @param {Number} z
174175
* @chainable
175176
*
176-
* @method vertexNormal
177+
* @method normal
177178
* @param {Vector} v
178179
* @chainable
179180
*/

0 commit comments

Comments
 (0)