Home | All Classes | Grouped Classes | Index | Search

# CL_Viewpoint::setup_modelview

Sets up the model view matrix to look from this viewpoint.

    	void setup_modelview();

Detailed description:

Calling this function causes CL_Viewpoint to do the following:

- glMatrixMode(GL_MODELVIEW)
- glLoadIdentity()
- gluLookAt(pos, pos+dir, up)

See also:

CL_Viewpoint

Questions or comments, write to the ClanLib mailing list.