Changes between Version 28 and Version 29 of tutorial
- Timestamp:
- Jun 29, 2013, 8:02:51 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tutorial
v28 v29 486 486 normal = normalize(n.xyz); \ 487 487 }}} 488 [[Image(copper-mix.png, right)]] 488 489 2. Introduce zoom in/out functionality of the viewer by adding mouse wheel events to the end of `mouse()` 489 490 {{{ … … 500 501 * gl_ModelViewMatrix*vec4(Zoom*gl_Vertex.xyz, 1.0); \ 501 502 }}} 502 In the `display()` we send `zoom` to GPU before drawing the `glutSolidTeapot()` by adding 503 In the `display()` we send `zoom` to GPU before drawing the `glutSolidTeapot()` by adding 503 504 {{{ 504 505 #!c