We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current implementation lacks on functionality such as removing lights again. Also the API is quite hard to use right now.
It is currently quite annoying to specify a light id. Why is this even required? Generate one! Also return the light itself:
PointLight light = lightingManager.createPointLight(pos, radius, color);
Make it simple to remove lights again:
lightingManager.removeLight(light);
Right now, it is quite difficult to attach lights. Change that:
lightingManager.attach(object, light);
The text was updated successfully, but these errors were encountered:
Improve LightingManager API, closes [#183]
59cfa98
No branches or pull requests
The current implementation lacks on functionality such as removing lights again. Also the API is quite hard to use right now.
Adding and removing lights
It is currently quite annoying to specify a light id. Why is this even required? Generate one! Also return the light itself:
Make it simple to remove lights again:
Attaching lights to objects
Right now, it is quite difficult to attach lights. Change that:
The text was updated successfully, but these errors were encountered: