WebGL rotating F: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: no teapot)
Line 67: Line 67:
-- with the right size, type, and possibly stride settings, and finally glDrawArrays() with the desired mode, here GL_TRIANGLES, not
-- with the right size, type, and possibly stride settings, and finally glDrawArrays() with the desired mode, here GL_TRIANGLES, not
-- forgetting the total length. Of course there are all sorts of other things to achieve smoothing, rotation, lighting effects, and
-- forgetting the total length. Of course there are all sorts of other things to achieve smoothing, rotation, lighting effects, and
-- so on, but this quick little intro endeth here. The following notes are all very specifc to this particular program.
-- so on, but this quick little intro endeth here. The following notes are all very specific to this particular program.
--
--
-- First define a 2D 'F' as follows
-- First define a 2D 'F' as follows