From 72882324512339450c128fa03b4c882f95d38c0e Mon Sep 17 00:00:00 2001
From: Lalit Narayan Yadav
<162928571+LalitNarayanYadav@users.noreply.github.com>
Date: Fri, 25 Apr 2025 17:58:05 +0530
Subject: [PATCH] "Fix typo in directionalLight reference (main branch)" -
#7743
---
src/webgl/light.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/webgl/light.js b/src/webgl/light.js
index 3163bc6a65..7197cb70d8 100644
--- a/src/webgl/light.js
+++ b/src/webgl/light.js
@@ -482,7 +482,7 @@ p5.prototype.specularColor = function (v1, v2, v3) {
* three parameters, `v1`, `v2`, and `v3`, set the light’s color using the
* current colorMode(). The last parameter,
* `direction` sets the light’s direction using a
- * p5.Geometry object. For example,
+ * p5.Vector object. For example,
* `directionalLight(255, 0, 0, lightDir)` creates a red `(255, 0, 0)` light
* that shines in the direction the `lightDir` vector points.
*