Skip to content

directionalLight reference error (typo) #7743

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

Open
quarks opened this issue Apr 16, 2025 · 3 comments · May be fixed by #7756
Open

directionalLight reference error (typo) #7743

quarks opened this issue Apr 16, 2025 · 3 comments · May be fixed by #7756

Comments

@quarks
Copy link

quarks commented Apr 16, 2025

In the website reference for diectionalLight there are a couple of typos -

Para 5:
'direction sets the light’s direction using a p5.Geometry object'
should be
'direction sets the light’s direction using a p5.Vector object'

Para 7:
'direction, sets the light’s direction using a p5.Color object.'
should be
'direction, sets the light’s direction using a p5.Vector object.'

@ksen0
Copy link
Member

ksen0 commented Apr 16, 2025

Thanks for catching this! The documentation is actually built from the documentation in the source code, so I'll transfer this to p5.js repository. Additionally, it is best to make 2 parallel PRs for the two different versions (and I see it applies in both cases), otherwise it may take a while to propagate the change in both the main and beta reference sites:

Would you like to work on this?

@LalitNarayanYadav
Copy link

Hi! @ksen0 I'd like to work on this issue.

@Mamatha1718
Copy link

Hi @quarks , @ksen0 ,
I created a pull request of this issue #7756 will you please review it.
Thank you in Advance!

@Mamatha1718 Mamatha1718 linked a pull request Apr 19, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

4 participants