Skip to content

Commit 199705b

Browse files
Merge pull request #762 from Rahulm2310/spotlightfix
Changed pointLight to spotLight
2 parents 021870d + f11fc4d commit 199705b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/examples/en/12_Lights/05_Mixture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function draw() {
1818
directionalLight(0, 102, 255, -1, 0, 0);
1919

2020
// Yellow spotlight from the front
21-
pointLight(255, 255, 109, 0, 0, 300);
21+
spotLight(255, 255, 109, 0, 0, 300);
2222

2323
rotateY(map(mouseX, 0, width, 0, PI));
2424
rotateX(map(mouseY, 0, height, 0, PI));

0 commit comments

Comments
 (0)