Changes between Version 21 and Version 22 of tutorial


Ignore:
Timestamp:
Jun 28, 2013, 11:06:00 PM (11 years ago)
Author:
leon
Comment:

indent

Legend:

Unmodified
Added
Removed
Modified
  • tutorial

    v21 v22  
    484484  #!c
    485485  vec4 n = RotationMatrix*vec4(gl_NormalMatrix*gl_Normal, 1);\
    486   normal=normalize(n.xyz);
     486  normal = normalize(n.xyz);
    487487  }}}
    488488 2. Introduce zoom in/out functionality of the viewer by adding mouse wheel events to the end of `mouse()`