Book Meme

Oct 03, 2008 00:11

* Grab the nearest book.
* Open the book to page 56.
* Find the fifth sentence.
* Post the text of the next few sentences in your journal along with these instructions.
* Don't dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.

The glColor3f function selects a color in the same manner as glClearColor, but no alpha translucency component needs to be specified (the default value for alpha is 1.0 for completely opaque):

void glColor3f(GLfloat red, GLfloat green, GLfloat blue);

The glRectf function takes floating-point arguments, as denoted by the trailing f.

OpenGL SuperBible, Fourth Edition, Wright, Lipchak, and Haemel

geeky, meme

Previous post Next post
Up