Wireframe

Is there a simple command to make an object render as wireframe instead of filled?

Thanks

glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) should do it.
use glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) to go back.

[This message has been edited by stim (edited 06-25-2001).]

Thanks a lot