@@ -473,7 +473,7 @@ function light(p5, fn){
473
473
* three parameters, `v1`, `v2`, and `v3`, set the light’s color using the
474
474
* current <a href="#/p5/colorMode">colorMode()</a>. The last parameter,
475
475
* `direction` sets the light’s direction using a
476
- * <a href="#/p5.Geometry ">p5.Geometry </a> object. For example,
476
+ * <a href="#/p5.Vector ">p5.Vector </a> object. For example,
477
477
* `directionalLight(255, 0, 0, lightDir)` creates a red `(255, 0, 0)` light
478
478
* that shines in the direction the `lightDir` vector points.
479
479
*
@@ -488,7 +488,7 @@ function light(p5, fn){
488
488
* parameter, `color`, sets the light’s color using a
489
489
* <a href="#/p5.Color">p5.Color</a> object or an array of color values. The
490
490
* second parameter, `direction`, sets the light’s direction using a
491
- * <a href="#/p5.Color ">p5.Color </a> object. For example,
491
+ * <a href="#/p5.Vector ">p5.Vector </a> object. For example,
492
492
* `directionalLight(myColor, lightDir)` creates a light that shines in the
493
493
* direction the `lightDir` vector points with the color value of `myColor`.
494
494
*
0 commit comments