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

Make StelToneReproducer's xyYToRGB.glsl core function reusable #1468

Merged
merged 2 commits into from
Jan 10, 2021

Conversation

10110111
Copy link
Contributor

I'd like to avoid duplication of the tone reproducer's code when I add the second atmosphere model, so these commits make it reusable (and more readable).

In particular, use appropriate names for variables, and write dot/matrix
products as such instead of open-coding them.
@github-actions
Copy link

Great PR! Please pay attention to the following items before merging:

Files matching src/**/*.cpp:

  • Are possibly unused includes removed?

This is an automatically generated QA checklist based on modified files

Copy link
Member

@alex-w alex-w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alex-w alex-w merged commit f533b8b into Stellarium:master Jan 10, 2021
@10110111
Copy link
Contributor Author

Mmm.. I tried hard to keep these two commits separate to make git blame easier to use if needed...
OK, too late to undo the squashing.

@alex-w
Copy link
Member

alex-w commented Jan 11, 2021

ouch... sorry

silas1037 added a commit to silas1037/stellarium that referenced this pull request Jan 15, 2021
silas1037 added a commit to silas1037/stellarium that referenced this pull request Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants