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

Configuration.js file has been updated with "activeLightSource" using Mapping. #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joefelx
Copy link

@joefelx joefelx commented Feb 10, 2023

Configuration.js file has been updated with activeLightSource using Mapping.
The basic switch case to choose position and angle is updated with key and value pairs.

Additionally, a new function called handleLightSource() has been created which takes activeLightSource and distance arguments. Then, the function returns the postionX postionY angle.

The values can directly be stored in a variables instead of declaring separately.

I hope, it would help your application for faster performance.

Thank you.

joefelx and others added 2 commits February 10, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant