WebGL rotating F: Difference between revisions
m
→{{header|Phix}}: sp
m (→{{header|Phix}}: no teapot) |
m (→{{header|Phix}}: sp) |
||
Line 67:
-- 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
-- so on, but this quick little intro endeth here. The following notes are all very
--
-- First define a 2D 'F' as follows
|