Talk:OpenGL Programming/Modern OpenGL Tutorial 07

= Zero-based addressing = The values of all the elements in teapot_patches should be reduced by 1 so that the -1 can be eliminated from the routine 'build_control_points_k':
 * But there are other models with the similar 1-based indices, as suggested in the "Going further" section :) Better have the code ready for them Beuc (discuss • contribs) 21:39, 1 September 2011 (UTC)

Furthermore, you can use structure assignment inestead of assigning x, y, and z in three statements: JeffEpler (discuss • contribs) 12:18, 1 September 2011 (UTC)


 * Good idea! Beuc (discuss • contribs) 21:39, 1 September 2011 (UTC)