bool isWire = true;
...
if (isWire) {
glPolygonMode(GL_FRONT, GL_LINE);
glPolygonMode(GL_BACK, GL_LINE);
}
...(draw)...
glPolygonMode(GL_FRONT, GL_FILL);
glPolygonMode(GL_BACK, GL_FILL);
Sunday, November 23, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment