Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* projection */
- glMatrixMode(GL_PROJECTION);
- glLoadIdentity();
- gluPerspective(45.0,320.0/240.0,0.0,300);
- /* model view */
- glMatrixMode(GL_MODELVIEW);
- glLoadIdentity();
- gluLookAt(
- 0.0f, 14.0f, 0.0f,
- 0.0f, 0.0f, 0.0f,
- 0.0f, 1.0f, 0.0f);
- glScalef(1.0f, 1.0f, -1.0f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement