Skip to content

Commit 57638a0

Browse files
authored
Merge pull request #7777 from LalitNarayanYadav/main
"Fix typo in directionalLight reference (main branch)" - #7743
2 parents 57fbaae + 7288232 commit 57638a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webgl/light.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ p5.prototype.specularColor = function (v1, v2, v3) {
482482
* three parameters, `v1`, `v2`, and `v3`, set the light’s color using the
483483
* current <a href="#/p5/colorMode">colorMode()</a>. The last parameter,
484484
* `direction` sets the light’s direction using a
485-
* <a href="#/p5.Geometry">p5.Geometry</a> object. For example,
485+
* <a href="#/p5.Vector">p5.Vector</a> object. For example,
486486
* `directionalLight(255, 0, 0, lightDir)` creates a red `(255, 0, 0)` light
487487
* that shines in the direction the `lightDir` vector points.
488488
*

0 commit comments

Comments
 (0)