What is the difference between glColor3d and glColor3f?

Question:What is the difference between glColor3d and glColor3f?

1.glColor3d only sets RGB, while glColor3f sets R, G, B and A

2.glColor3d allows 3d color operations, while glColor3f only allows 8-bit

3. glColor3d takes double arguments, while glColor3f takes float arguments

4.glColor3d is in real space, glColor3f is in integer space


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!