Changes between Version 31 and Version 32 of tutorial
- Timestamp:
- Jun 29, 2013, 10:49:39 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tutorial
v31 v32 617 617 } 618 618 }}} 619 3. We see that rotation of the motorbike around front wheel is not really nice.620 To compensate we translate all points in {{{vertex_shader[]}}} by adding {{{vec3(-0.75, 0, -0.7);}}}619 3. We see that rotation of the motorbike around the front wheel is not really nice. 620 To compensate we translate all points in the {{{vertex_shader[]}}} by adding {{{vec3(-0.75, 0, -0.7);}}} 621 621 to every vertex in world coordinates and thus moving motor bike to origin. 622 622 Last part of the {{{vertex_shader[]}}}now reads: