Go to the source code of this file.
Functions | |
void | checkerboard_stencil (int gliWindowWidth, int gliWindowHeight) |
Usage:
checkerboard_stencil(w,h);
glStencilFunc(GL_NOTEQUAL, 1, 1); Draw scene for left eye
glStencilFunc(GL_EQUAL, 1, 1); Draw scene for right eye
void checkerboard_stencil | ( | int | gliWindowWidth, | |
int | gliWindowHeight | |||
) |