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

Wrong color assignment in Tutorial 05 source codes #93

Open
paroj opened this issue Apr 6, 2015 · 0 comments
Open

Wrong color assignment in Tutorial 05 source codes #93

paroj opened this issue Apr 6, 2015 · 0 comments

Comments

@paroj
Copy link
Owner

paroj commented Apr 6, 2015

Originally reported by: Sand3r (Bitbucket: Sand3r, GitHub: Sand3r)


In all .cpp files coming from Tutorial 05, the assignment of colors for blue and green is incorrect, and should be swapped.

Side note: It may seem to be minor bug, but it greatly confused me when I was playing with the code to gain better understanding of indexed buffering.

#define GREEN_COLOR 0.75f, 0.75f, 1.0f, 1.0f
#define BLUE_COLOR  0.0f, 0.5f, 0.0f, 1.0f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant