Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code missing in 1st directionalLight example #646

Open
wagedu opened this issue Nov 30, 2024 · 0 comments
Open

Code missing in 1st directionalLight example #646

wagedu opened this issue Nov 30, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@wagedu
Copy link

wagedu commented Nov 30, 2024

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Mac OS

Web browser and version

All browsers

Actual Behavior

https://p5js.org/reference/p5/directionalLight/
1st example begins with "// Double-click to turn on the directional light." but the example lacks double click code

Expected Behavior

Double click code in the example to activate the light

Steps to reproduce

https://p5js.org/reference/p5/directionalLight/

My suggestion would be either:

  • Remove the "// Double-click to turn on the directional light.", and let the directionalLight on by default. No need to complicate things
    OR
  • Add the double-click + enable light code

Would you like to work on the issue?

I could, yes, but depending on your decision for the fix

@wagedu wagedu added the Bug Something isn't working label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant