Red rectangle

This is supposed to be a red rectangle:

All the time I sit down to add some 2D drawing functions to a 3D engine, write code for hours and finally see the result, the rectangles I programmed usualy look like this. I guess I'm not so good with indices. Or geometry. Or both :)

three comments, already:

Niko, immer im Uhrzeigersinn!
Jan_ - 11 08 10 - 08:22

looks like a riff of markokvich’s red wedge
john haverkamp - 12 08 10 - 06:32

It looks even funnier when textured. :-) A strip I suppose?
xaos - 12 08 10 - 18:12

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.