18.07.2014 Views

An Interactive Introduction to OpenGL Programming

An Interactive Introduction to OpenGL Programming

An Interactive Introduction to OpenGL Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Common Transformation<br />

Usage<br />

• 2 examples of resize() routine<br />

– restate projection & viewing transformations<br />

• Usually called when window resized<br />

• Registered as callback for<br />

glutReshapeFunc()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!