You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't it stay the same? And only the 'sizeshould change from 2 to 3? Because if everything is the same, thencount*size` gives the total number of vertices, and so only size changes from 2 to 3 because we're drawing the same thing, only each vertex has 3 points?
For example, in the 2D lesson size was 2 and count was 6, and in the 3D lesson size changes to 3 and count changes to 18.
The text was updated successfully, but these errors were encountered:
trusktr
changed the title
Why does the "count" variable change from 2D to 3D lesson?
Why does the "count" variable change from 2D to 3D lesson? Only size needs to change?
May 13, 2017
I'm talking about the variable here, https://github.com/greggman/webgl-fundamentals/blob/master/webgl/webgl-3d-step1.html#L183.
Shouldn't it stay the same? And only the 'size
should change from 2 to 3? Because if everything is the same, then
count*size` gives the total number of vertices, and so only size changes from 2 to 3 because we're drawing the same thing, only each vertex has 3 points?For example, in the 2D lesson size was 2 and count was 6, and in the 3D lesson size changes to 3 and count changes to 18.
The text was updated successfully, but these errors were encountered: